mod_firewall: Silence warning about empty if branch [luacheck]
authorKim Alvefur <zash@zash.se>
Fri, 11 Mar 2016 18:52:48 +0100
changeset 2084 a435db77a5e5
parent 2083 edec9de0220a
child 2085 73096d8d924c
mod_firewall: Silence warning about empty if branch [luacheck]
mod_firewall/mod_firewall.lua
--- a/mod_firewall/mod_firewall.lua	Fri Mar 11 18:52:36 2016 +0100
+++ b/mod_firewall/mod_firewall.lua	Fri Mar 11 18:52:48 2016 +0100
@@ -164,7 +164,7 @@
 		end
 		line_no = line_no + 1;
 
-		if line_hold or line:find("^[#;]") then
+		if line_hold or line:find("^[#;]") then -- luacheck: ignore 542
 			-- No action; comment or partial line
 		elseif line == "" then
 			if state == "rules" then