Comparison

mod_component_guard/mod_component_guard.lua @ 457:79ba4f95d65c

mod_component_guard: missing hook priority.
author Marco Cirillo <maranda@lightwitch.org>
date Sat, 22 Oct 2011 19:30:43 +0000
parent 456:73f06a14390a
child 458:4149fcacbbf1
comparison
equal deleted inserted replaced
456:73f06a14390a 457:79ba4f95d65c
54 end 54 end
55 55
56 local function handle_activation (host) 56 local function handle_activation (host)
57 if guard_blockall:contains(host) or guard_protect:contains(host) then 57 if guard_blockall:contains(host) or guard_protect:contains(host) then
58 if hosts[host] and hosts[host].events then 58 if hosts[host] and hosts[host].events then
59 hosts[host].events.add_handler("stanza/jabber:server:dialback:result", sdr_hook); 59 hosts[host].events.add_handler("stanza/jabber:server:dialback:result", sdr_hook, 100);
60 module:log ("debug", "adding component protection for: "..host); 60 module:log ("debug", "adding component protection for: "..host);
61 end 61 end
62 end 62 end
63 end 63 end
64 64