aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2010-12-02 16:17:44 +0500
committerWaqas Hussain <waqas20@gmail.com>2010-12-02 16:17:44 +0500
commit517deefe9722296a8729ca0e7d255aadf91cd996 (patch)
treedebc2b4967d6a3f2b40cc558a8955749c26dcbc4 /plugins
parent65317473087c5889f92c615bd302a9f1de66093c (diff)
downloadprosody-517deefe9722296a8729ca0e7d255aadf91cd996.tar.gz
prosody-517deefe9722296a8729ca0e7d255aadf91cd996.zip
mod_proxy65: Give the 'iq/host' stanza handler a negative priority, to allow mod_iq to process the events first.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_proxy65.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_proxy65.lua b/plugins/mod_proxy65.lua
index 5d7507e3..d1cc1296 100644
--- a/plugins/mod_proxy65.lua
+++ b/plugins/mod_proxy65.lua
@@ -249,7 +249,7 @@ function handle_to_domain(event)
end
end
end
-module:hook("iq/host", handle_to_domain);
+module:hook("iq/host", handle_to_domain, -1);
if not connlisteners.register(module.host .. ':proxy65', connlistener) then
module:log("error", "mod_proxy65: Could not establish a connection listener. Check your configuration please.");