diff mod_firewall/actions.lib.lua @ 1303:8a3f3f485675

mod_firewall: Produce code with nicer indentation
author Florian Zeitz <florob@babelmonkeys.de>
date Sun, 16 Feb 2014 17:17:23 +0100
parents f0108ec2b016
children 7dbde05b48a9
line wrap: on
line diff
--- 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)