# HG changeset patch # User Matthew Wild # Date 1487538368 0 # Node ID 3990b1bca3080697bf466e4d2b6b6f2cb5c1bf3a # Parent 248054199d0fa12005aeb70b1fadd414626d29cf mod_firewall: Fix circular dependency check diff -r 248054199d0f -r 3990b1bca308 mod_firewall/mod_firewall.lua --- a/mod_firewall/mod_firewall.lua Mon Feb 20 01:59:33 2017 +0100 +++ b/mod_firewall/mod_firewall.lua Sun Feb 19 21:06:08 2017 +0000 @@ -153,7 +153,7 @@ module:log("error", "Dependency not found: %s", dep); return; end - if code.included_deps[dep] then + if code.included_deps[dep] ~= nil then if code.included_deps[dep] ~= true then module:log("error", "Circular dependency on %s", dep); end