# HG changeset patch # User Kim Alvefur # Date 1457718485 -3600 # Node ID 368b091e723b8549e99711989d8a2b89d3483115 # Parent d2ad556dcfb7b53fb7a1d3237fae74588fbe7db6 mod_firewall: Rename argument to avoid name clash [luacheck] diff -r d2ad556dcfb7 -r 368b091e723b mod_firewall/mod_firewall.lua --- a/mod_firewall/mod_firewall.lua Fri Mar 11 18:47:39 2016 +0100 +++ b/mod_firewall/mod_firewall.lua Fri Mar 11 18:48:05 2016 +0100 @@ -89,8 +89,8 @@ }; }; -local function include_dep(dep, code) - local dep, dep_param = dep:match("^([^:]+):?(.*)$"); +local function include_dep(dependency, code) + local dep, dep_param = dependency:match("^([^:]+):?(.*)$"); local dep_info = available_deps[dep]; if not dep_info then module:log("error", "Dependency not found: %s", dep);