# HG changeset patch # User Matthew Wild # Date 1487929725 0 # Node ID fda47e2135e5615d386076c1e2aff44193f34cbe # Parent 99b32f77f00d44a287830abe9d0156a952652ae0 mod_firewall: Fix compilation error when last action modifies stanza route diff -r 99b32f77f00d -r fda47e2135e5 mod_firewall/actions.lib.lua --- a/mod_firewall/actions.lib.lua Fri Feb 24 09:48:16 2017 +0000 +++ b/mod_firewall/actions.lib.lua Fri Feb 24 09:48:45 2017 +0000 @@ -126,7 +126,7 @@ deps[#deps+1] = "core_post_stanza"; end return ([[local newstanza = st.%s; %s;%s]]) - :format(make_new, reroute, drop and " return true;" or ""), deps; + :format(make_new, reroute, drop and " do return true end" or ""), deps; end function action_handlers.BOUNCE(with)