comparison 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
comparison
equal deleted inserted replaced
2858:150a7bd59043 2859:22e11645a895
569 -- Already loaded, but the source file has changed 569 -- Already loaded, but the source file has changed
570 -- unload it now, and we'll load the new version below 570 -- unload it now, and we'll load the new version below
571 unload_script(script, true); 571 unload_script(script, true);
572 end 572 end
573 local chain_functions, err = compile_firewall_rules(script); 573 local chain_functions, err = compile_firewall_rules(script);
574 574
575 if not chain_functions then 575 if not chain_functions then
576 module:log("error", "Error compiling %s: %s", script, err or "unknown error"); 576 module:log("error", "Error compiling %s: %s", script, err or "unknown error");
577 return; 577 return;
578 end 578 end
579 579