Mercurial > prosody-modules
diff mod_firewall/actions.lib.lua @ 957:9b21b91c2d96
mod_firewall/actions: Add PASS
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 05 Apr 2013 18:05:46 +0100 |
parents | bea0ef13575c |
children | 843795020701 |
line wrap: on
line diff
--- a/mod_firewall/actions.lib.lua Fri Apr 05 18:05:21 2013 +0100 +++ b/mod_firewall/actions.lib.lua Fri Apr 05 18:05:46 2013 +0100 @@ -47,6 +47,9 @@ return table.concat(code, ""); end +function action_handlers.PASS() + return "do return end" +end function action_handlers.DROP() return "log('debug', 'Firewall dropping stanza: %s', tostring(stanza)); return true;";