Mercurial > prosody-modules
diff mod_firewall/mod_firewall.lua @ 2859:22e11645a895
mod_firewall: Trim trailing whitespace [luacheck]
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 03 Jan 2018 07:49:22 +0100 |
parents | 02c6ae745c4f |
children | 165d2877eeac |
line wrap: on
line diff
--- a/mod_firewall/mod_firewall.lua Sun Dec 31 13:15:53 2017 +0100 +++ b/mod_firewall/mod_firewall.lua Wed Jan 03 07:49:22 2018 +0100 @@ -571,7 +571,7 @@ unload_script(script, true); end local chain_functions, err = compile_firewall_rules(script); - + if not chain_functions then module:log("error", "Error compiling %s: %s", script, err or "unknown error"); return;