mod_proxy65: Give the 'iq/host' stanza handler a negative priority, to allow mod_iq to process the events first.

This commit is contained in:
Waqas Hussain 2010-12-02 16:17:44 +05:00
parent 8203bda99e
commit 63ef5a507e

View file

@ -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.");