mod_firewall/actions.lib.lua
changeset 1303 8a3f3f485675
parent 961 f0108ec2b016
child 1343 7dbde05b48a9
--- a/mod_firewall/actions.lib.lua	Fri Feb 14 15:08:11 2014 +0100
+++ b/mod_firewall/actions.lib.lua	Sun Feb 16 17:17:23 2014 +0100
@@ -123,8 +123,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)