# HG changeset patch # User Matthew Wild # Date 1779649135 -3600 # Node ID d81bb13c0e87fc7fb9d62e1c863bcccc30e06ac8 # Parent 0002c727e91828b0e2f7ae855feafa6267612303 mod_firewall: Report success if script is already loaded and hasn't changed diff -r 0002c727e918 -r d81bb13c0e87 mod_firewall/mod_firewall.lua --- a/mod_firewall/mod_firewall.lua Sun May 24 19:35:52 2026 +0100 +++ b/mod_firewall/mod_firewall.lua Sun May 24 19:58:55 2026 +0100 @@ -697,7 +697,7 @@ local last_modified = (lfs.attributes(script) or {}).modification or os.time(); if loaded_scripts[script] then if loaded_scripts[script].last_modified == last_modified then - return; -- Already loaded, and source file hasn't changed + return true; -- Already loaded, and source file hasn't changed end module:log("debug", "Reloading %s", script); -- Already loaded, but the source file has changed