aboutsummaryrefslogtreecommitdiffstats
path: root/core
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
commit3de0d3e0496ecfac8c6fa3f85596646124a87343 (patch)
tree5c07d1c341d9ac182ba5b7401f08e284d7df4f89 /core
parent55f7842f8a5f9e27d37de392233db6e6f19ce800 (diff)
downloadprosody-3de0d3e0496ecfac8c6fa3f85596646124a87343.tar.gz
prosody-3de0d3e0496ecfac8c6fa3f85596646124a87343.zip
configmanager: Rename unused function arguments [luacheck]
Diffstat (limited to 'core')
-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
});