Mercurial > prosody-hg
diff plugins/mod_pep.lua @ 1327:20285e9d71ee
mod_pep: Give the presence handler a higher than default priority
| author | Waqas Hussain <waqas20@gmail.com> |
|---|---|
| date | Sun, 07 Jun 2009 18:06:01 +0500 |
| parents | b58645973d7d |
| children | f7fed9f77455 |
line wrap: on
line diff
--- a/plugins/mod_pep.lua Sun Jun 07 18:04:56 2009 +0500 +++ b/plugins/mod_pep.lua Sun Jun 07 18:06:01 2009 +0500 @@ -61,7 +61,7 @@ end end end -end); +end, 10); module:add_iq_handler("c2s", "http://jabber.org/protocol/pubsub", function (session, stanza) if stanza.attr.type == 'set' and (not stanza.attr.to or jid_bare(stanza.attr.from) == stanza.attr.to) then
