Changeset

6717:4fecfc81dac1

configmanager: Rename unused function arguments [luacheck]
author Matthew Wild <mwild1@gmail.com>
date Mon, 18 May 2015 19:07:06 +0100
parents 6716:2b78754b0f1c
children 6718:be98ebe87eef
files core/configmanager.lua
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/core/configmanager.lua	Mon May 18 19:06:34 2015 +0100
+++ b/core/configmanager.lua	Mon May 18 19:07:06 2015 +0100
@@ -128,11 +128,11 @@
 			Host = true, host = true, VirtualHost = true,
 			Component = true, component = true,
 			Include = true, include = true, RunScript = true }, {
-				__index = function (t, k)
+				__index = function (_, k)
 					return rawget(_G, k);
 				end,
-				__newindex = function (t, k, v)
-					set(config, env.__currenthost or "*", k, v);
+				__newindex = function (_, k, v)
+					set(config_table, env.__currenthost or "*", k, v);
 				end
 		});