# HG changeset patch # User Waqas Hussain # Date 1291288664 -18000 # Node ID 13a1d90b4e1c995d94d00a94c7d2d3d7ad020bce # Parent cd3a1ae596b4f9a26cecd8d92bbc2b68a1a48358 mod_proxy65: Give the 'iq/host' stanza handler a negative priority, to allow mod_iq to process the events first. diff -r cd3a1ae596b4 -r 13a1d90b4e1c plugins/mod_proxy65.lua --- a/plugins/mod_proxy65.lua Thu Dec 02 16:16:44 2010 +0500 +++ b/plugins/mod_proxy65.lua Thu Dec 02 16:17:44 2010 +0500 @@ -249,7 +249,7 @@ 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.");