Changeset

2077:368b091e723b

mod_firewall: Rename argument to avoid name clash [luacheck]
author Kim Alvefur <zash@zash.se>
date Fri, 11 Mar 2016 18:48:05 +0100
parents 2076:d2ad556dcfb7
children 2078:11539785cb92
files mod_firewall/mod_firewall.lua
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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);