diff options
author | Matthew Wild <mwild1@gmail.com> | 2015-05-18 19:07:06 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2015-05-18 19:07:06 +0100 |
commit | 3de0d3e0496ecfac8c6fa3f85596646124a87343 (patch) | |
tree | 5c07d1c341d9ac182ba5b7401f08e284d7df4f89 | |
parent | 55f7842f8a5f9e27d37de392233db6e6f19ce800 (diff) | |
download | prosody-3de0d3e0496ecfac8c6fa3f85596646124a87343.tar.gz prosody-3de0d3e0496ecfac8c6fa3f85596646124a87343.zip |
configmanager: Rename unused function arguments [luacheck]
-rw-r--r-- | core/configmanager.lua | 6 |
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 }); |