aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_pep.lua
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2009-06-07 18:06:01 +0500
committerWaqas Hussain <waqas20@gmail.com>2009-06-07 18:06:01 +0500
commit2ef63904d65d0883e2687aa3d23bcbecf80f920e (patch)
tree0dc8c64f19338346e80dd0f6eae71e7c19cee28e /plugins/mod_pep.lua
parent1878c499486efa5ae29fb3b4fb9b5bcfbc047a57 (diff)
downloadprosody-2ef63904d65d0883e2687aa3d23bcbecf80f920e.tar.gz
prosody-2ef63904d65d0883e2687aa3d23bcbecf80f920e.zip
mod_pep: Give the presence handler a higher than default priority
Diffstat (limited to 'plugins/mod_pep.lua')
-rw-r--r--plugins/mod_pep.lua2
1 files changed, 1 insertions, 1 deletions
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