From 63ef5a507e2b49ac16db40feed9021d5c1e3b973 Mon Sep 17 00:00:00 2001 From: Waqas Hussain Date: Thu, 2 Dec 2010 16:17:44 +0500 Subject: mod_proxy65: Give the 'iq/host' stanza handler a negative priority, to allow mod_iq to process the events first. --- plugins/mod_proxy65.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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."); -- cgit v1.2.3