From 2ef63904d65d0883e2687aa3d23bcbecf80f920e Mon Sep 17 00:00:00 2001 From: Waqas Hussain Date: Sun, 7 Jun 2009 18:06:01 +0500 Subject: mod_pep: Give the presence handler a higher than default priority --- plugins/mod_pep.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') diff --git a/plugins/mod_pep.lua b/plugins/mod_pep.lua index cc8db55c..0c360b38 100644 --- a/plugins/mod_pep.lua +++ b/plugins/mod_pep.lua @@ -61,7 +61,7 @@ module:hook("presence/bare", function(data) 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 -- cgit v1.2.3