# HG changeset patch # User Matthew Wild # Date 1487929770 0 # Node ID 78efd064aef31d51dd25115c27c95efd186260a0 # Parent 3da0e3c917cc0c350dc2925dc076335946fca9fa mod_firewall: Rename variables to avoid shadowing #luacheck diff -r 3da0e3c917cc -r 78efd064aef3 mod_firewall/mod_firewall.lua --- a/mod_firewall/mod_firewall.lua Fri Feb 24 09:49:09 2017 +0000 +++ b/mod_firewall/mod_firewall.lua Fri Feb 24 09:49:30 2017 +0000 @@ -269,8 +269,8 @@ if dep_param ~= "" then local global_code, deps = dep_info.global_code(dep_param); if deps then - for _, dep in ipairs(deps) do - include_dep(dep, code); + for _, dep_dep in ipairs(deps) do + include_dep(dep_dep, code); end end table.insert(code.global_header, global_code); @@ -282,8 +282,8 @@ if dep_param ~= "" then local local_code, deps = dep_info.local_code(dep_param); if deps then - for _, dep in ipairs(deps) do - include_dep(dep, code); + for _, dep_dep in ipairs(deps) do + include_dep(dep_dep, code); end end table.insert(code, "\n\t\t-- "..dep.."\n\t\t"..local_code.."\n");