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 | 8a5ce002742b85433b938203473b63a06760ea0e (patch) | |
tree | 5c07d1c341d9ac182ba5b7401f08e284d7df4f89 | |
parent | 9c69414a8b0f874b8538c20fd4fa077caae12a4b (diff) | |
download | prosody-8a5ce002742b85433b938203473b63a06760ea0e.tar.gz prosody-8a5ce002742b85433b938203473b63a06760ea0e.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 }); |