# HG changeset patch # User Waqas Hussain # Date 1244379961 -18000 # Node ID 20285e9d71ee6c114eb5a56ff7706c562a5d0dd1 # Parent 4f1994f7bd5405342e221e03b98049af9ab64900 mod_pep: Give the presence handler a higher than default priority diff -r 4f1994f7bd54 -r 20285e9d71ee plugins/mod_pep.lua --- 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