mod_component_guard: missing hook priority.
--- 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