Mercurial > prosody-modules
diff mod_firewall/actions.lib.lua @ 958:843795020701
mod_firewall/actions: DROP no longer logs, log messages can be emitted with LOG
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 05 Apr 2013 18:06:10 +0100 |
parents | 9b21b91c2d96 |
children | 6ef334596276 |
line wrap: on
line diff
--- a/mod_firewall/actions.lib.lua Fri Apr 05 18:05:46 2013 +0100 +++ b/mod_firewall/actions.lib.lua Fri Apr 05 18:06:10 2013 +0100 @@ -52,7 +52,7 @@ end function action_handlers.DROP() - return "log('debug', 'Firewall dropping stanza: %s', tostring(stanza)); return true;"; + return "do return true end"; end function action_handlers.STRIP(tag_desc)