changeset 457:79ba4f95d65c

mod_component_guard: missing hook priority.
author Marco Cirillo <maranda@lightwitch.org>
date Sat, 22 Oct 2011 19:30:43 +0000
parents 73f06a14390a
children 4149fcacbbf1
files mod_component_guard/mod_component_guard.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mod_component_guard/mod_component_guard.lua	Sat Oct 22 17:34:14 2011 +0000
+++ b/mod_component_guard/mod_component_guard.lua	Sat Oct 22 19:30:43 2011 +0000
@@ -56,7 +56,7 @@
 local function handle_activation (host)
 	if guard_blockall:contains(host) or guard_protect:contains(host) then
 		if hosts[host] and hosts[host].events then
-			hosts[host].events.add_handler("stanza/jabber:server:dialback:result", sdr_hook);
+			hosts[host].events.add_handler("stanza/jabber:server:dialback:result", sdr_hook, 100);
                 	module:log ("debug", "adding component protection for: "..host);
 		end
 	end