Changeset

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 2532:2ddb74805f91
children 2534:13b8c31dce01
files mod_firewall/mod_firewall.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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]];
 	}
 };