changeset 2080:a435db77a5e5

mod_firewall: Silence warning about empty if branch [luacheck]
author Kim Alvefur <zash@zash.se>
date Fri, 11 Mar 2016 18:52:48 +0100
parents edec9de0220a
children 73096d8d924c
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	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