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

Thu, 02 Dec 2010 16:17:44 +0500

author
Waqas Hussain <waqas20@gmail.com>
date
Thu, 02 Dec 2010 16:17:44 +0500
changeset 3800
556287eed128
parent 3799
6a6a39b90cc0
child 3801
ecb7f06c940c

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

plugins/mod_proxy65.lua file | annotate | diff | comparison | revisions
--- 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.");

mercurial