configmanager: Rename unused function arguments [luacheck]
authorMatthew Wild <mwild1@gmail.com>
Mon, 18 May 2015 18:07:06 +0000 (19:07 +0100)
committerMatthew Wild <mwild1@gmail.com>
Mon, 18 May 2015 18:07:06 +0000 (19:07 +0100)
core/configmanager.lua

index db23009e6370b5fcb45145d35549d214df36db82..a85f950cd7ac0e7020fabee7f063f22e9f05690d 100644 (file)
@@ -128,11 +128,11 @@ do
                        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
                });