Software /
code /
prosody-modules
Diff
mod_firewall/actions.lib.lua @ 2106:f2ee508315e1
mod_firewall: JUMP_CHAIN: Fix implementation to match docs (i.e. continue processing current chain if stanza not handled)
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Thu, 17 Mar 2016 11:26:20 +0000 |
parent | 2094:a1e9ca4cb181 |
child | 2107:f445f43b9ba1 |
line wrap: on
line diff
--- a/mod_firewall/actions.lib.lua Thu Mar 17 11:25:01 2016 +0000 +++ b/mod_firewall/actions.lib.lua Thu Mar 17 11:26:20 2016 +0000 @@ -180,7 +180,7 @@ end function action_handlers.JUMP_CHAIN(name) - return ("do return fire_event(%q, event); end"):format("firewall/chains/"..name); + return ("if fire_event(%q, event) then return true; end"):format("firewall/chains/"..name); end return action_handlers;