diff options
author | Matthew Wild <mwild1@gmail.com> | 2015-05-18 19:05:26 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2015-05-18 19:05:26 +0100 |
commit | 0558bfbcb73769eb66b2e5514eb90b4afd5347b2 (patch) | |
tree | 450c3f1a83b26b3ba20f81b90ef17b8efdd25874 | |
parent | 9dcab343823a51f6a4bd56eb3d69de21f79a9aae (diff) | |
download | prosody-0558bfbcb73769eb66b2e5514eb90b4afd5347b2.tar.gz prosody-0558bfbcb73769eb66b2e5514eb90b4afd5347b2.zip |
configmanager: Rename unused function argument [luacheck]
-rw-r--r-- | core/configmanager.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/configmanager.lua b/core/configmanager.lua index 4d772f67..2feffa6c 100644 --- a/core/configmanager.lua +++ b/core/configmanager.lua @@ -28,7 +28,7 @@ _M.resolve_relative_path = resolve_relative_path; -- COMPAT local parsers = {}; -local config_mt = { __index = function (t, k) return rawget(t, "*"); end}; +local config_mt = { __index = function (t, _) return rawget(t, "*"); end}; local config = setmetatable({ ["*"] = { } }, config_mt); -- When host not found, use global |