comparison mod_host_guard/mod_host_guard.lua @ 729:ce8e7b784be0

mod_host_guard: adjusted log message.
author Marco Cirillo <maranda@lightwitch.org>
date Tue, 26 Jun 2012 13:05:52 +0000
parents 8ad2e24f5efd
children b16b291d68c3
comparison
equal deleted inserted replaced
728:8ad2e24f5efd 729:ce8e7b784be0
47 hosts[host].events.add_handler("route/remote", rr_hook, 500) 47 hosts[host].events.add_handler("route/remote", rr_hook, 500)
48 hosts[host].events.add_handler("stanza/jabber:server:dialback:result", s2s_hook, 500) 48 hosts[host].events.add_handler("stanza/jabber:server:dialback:result", s2s_hook, 500)
49 if not u then 49 if not u then
50 module:log ("debug", "adding host protection for: "..host) 50 module:log ("debug", "adding host protection for: "..host)
51 else 51 else
52 module:log ("debug", "updating host protection for: "..host) 52 module:log ("debug", "updating or adding host protection for: "..host)
53 end 53 end
54 end 54 end
55 end 55 end
56 end 56 end
57 57