Software /
code /
prosody-modules
Diff
mod_firewall/mod_firewall.lua @ 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 |
parent | 2078:11539785cb92 |
child | 2099:a8c701631d0b |
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