comparison mod_host_guard/mod_host_guard.lua @ 1343:7dbde05b48a9

all the things: Remove trailing whitespace
author Florian Zeitz <florob@babelmonkeys.de>
date Tue, 11 Mar 2014 18:44:01 +0100
parents 21e99dc949ee
children
comparison
equal deleted inserted replaced
1342:0ae065453dc9 1343:7dbde05b48a9
48 if guard_blockall:contains(host) or guard_protect:contains(host) then 48 if guard_blockall:contains(host) or guard_protect:contains(host) then
49 if hosts[host] and config.get(host, "core", "authentication") ~= "anonymous" then 49 if hosts[host] and config.get(host, "core", "authentication") ~= "anonymous" then
50 hosts[host].events.add_handler("s2sin-established", s2s_hook, 500) 50 hosts[host].events.add_handler("s2sin-established", s2s_hook, 500)
51 hosts[host].events.add_handler("route/remote", rr_hook, 500) 51 hosts[host].events.add_handler("route/remote", rr_hook, 500)
52 hosts[host].events.add_handler("stanza/jabber:server:dialback:result", s2s_hook, 500) 52 hosts[host].events.add_handler("stanza/jabber:server:dialback:result", s2s_hook, 500)
53 if not u then 53 if not u then
54 module:log ("debug", "adding host protection for: "..host) 54 module:log ("debug", "adding host protection for: "..host)
55 else 55 else
56 module:log ("debug", "updating or adding host protection for: "..host) 56 module:log ("debug", "updating or adding host protection for: "..host)
57 end 57 end
58 end 58 end