# HG changeset patch # User Waqas Hussain # Date 1291288664 -18000 # Node ID 556287eed1287a6736f0073f11e7d4506c875556 # Parent 6a6a39b90cc0df42f2a4a8a0200d0e297973aecc mod_proxy65: Give the 'iq/host' stanza handler a negative priority, to allow mod_iq to process the events first. diff -r 6a6a39b90cc0 -r 556287eed128 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.");