mod_firewall: Rename argument to avoid name clash [luacheck]
authorKim Alvefur <zash@zash.se>
Fri, 11 Mar 2016 18:48:05 +0100
changeset 2081 368b091e723b
parent 2080 d2ad556dcfb7
child 2082 11539785cb92
mod_firewall: Rename argument to avoid name clash [luacheck]
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);