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
commit63ef5a507e2b49ac16db40feed9021d5c1e3b973 (patch)
treee73908971e777c581e308a5c73e8f325c0db5fa1 /plugins
parent8203bda99e6082e71d1bcdcabac530fb61340971 (diff)
downloadprosody-63ef5a507e2b49ac16db40feed9021d5c1e3b973.tar.gz
prosody-63ef5a507e2b49ac16db40feed9021d5c1e3b973.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.");