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 | f8a0cbbad3059d4b360626c7ee5856a5eef3c4fe (patch) | |
tree | 450c3f1a83b26b3ba20f81b90ef17b8efdd25874 | |
parent | 4f549454ef721f2e89b1b2edcc271d7f233740c5 (diff) | |
download | prosody-f8a0cbbad3059d4b360626c7ee5856a5eef3c4fe.tar.gz prosody-f8a0cbbad3059d4b360626c7ee5856a5eef3c4fe.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 |