diff mod_firewall/mod_firewall.lua @ 2533:9aed7f4e9f07

mod_firewall: Fix scan_list() syntax error in generated code
author Matthew Wild <mwild1@gmail.com>
date Mon, 20 Feb 2017 13:12:30 +0000
parents 44a71584521d
children a1b6a6b0aabb
line wrap: on
line diff
--- a/mod_firewall/mod_firewall.lua	Mon Feb 20 10:59:29 2017 +0000
+++ b/mod_firewall/mod_firewall.lua	Mon Feb 20 13:12:30 2017 +0000
@@ -219,7 +219,7 @@
 		end;
 	};
 	scan_list = {
-		global_code = [[local function scan_list(list, items) for item in pairs(items) do if list:contains(item) then return true; end end]];
+		global_code = [[local function scan_list(list, items) for item in pairs(items) do if list:contains(item) then return true; end end end]];
 	}
 };