aboutsummaryrefslogtreecommitdiffstats
path: root/core/configmanager.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2015-05-18 19:07:06 +0100
committerMatthew Wild <mwild1@gmail.com>2015-05-18 19:07:06 +0100
commit8a5ce002742b85433b938203473b63a06760ea0e (patch)
tree5c07d1c341d9ac182ba5b7401f08e284d7df4f89 /core/configmanager.lua
parent9c69414a8b0f874b8538c20fd4fa077caae12a4b (diff)
downloadprosody-8a5ce002742b85433b938203473b63a06760ea0e.tar.gz
prosody-8a5ce002742b85433b938203473b63a06760ea0e.zip
configmanager: Rename unused function arguments [luacheck]
Diffstat (limited to 'core/configmanager.lua')
-rw-r--r--core/configmanager.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/configmanager.lua b/core/configmanager.lua
index db23009e..a85f950c 100644
--- a/core/configmanager.lua
+++ b/core/configmanager.lua
@@ -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
});