mod_firewall/actions: Move semicolon as to not produce two in a row. (Not legal in 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)