# HG changeset patch # User Kim Alvefur # Date 1365010860 -7200 # Node ID b729414b4bf1e545e0c37c3b4dbb0c4bd9da6e79 # Parent 79b4a1db7a57b3f44023a6b9c12c5954400c6646 mod_firewall/actions: Move semicolon as to not produce two in a row. (Not legal in Lua) diff -r 79b4a1db7a57 -r b729414b4bf1 mod_firewall/actions.lib.lua --- a/mod_firewall/actions.lib.lua Wed Apr 03 18:27:55 2013 +0100 +++ b/mod_firewall/actions.lib.lua Wed Apr 03 19:41:00 2013 +0200 @@ -112,8 +112,8 @@ reroute = ("newstanza.attr.to = %q; core_post_stanza(session, newstanza)"):format(to); deps[#deps+1] = "core_post_stanza"; end - return ([[local newstanza = st.%s; %s; %s; ]]) - :format(make_new, reroute, drop and "return true" or ""), deps; + return ([[local newstanza = st.%s; %s; %s ]]) + :format(make_new, reroute, drop and "return true;" or ""), deps; end function action_handlers.BOUNCE(with)