aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2015-05-18 19:05:26 +0100
committerMatthew Wild <mwild1@gmail.com>2015-05-18 19:05:26 +0100
commitf8a0cbbad3059d4b360626c7ee5856a5eef3c4fe (patch)
tree450c3f1a83b26b3ba20f81b90ef17b8efdd25874
parent4f549454ef721f2e89b1b2edcc271d7f233740c5 (diff)
downloadprosody-f8a0cbbad3059d4b360626c7ee5856a5eef3c4fe.tar.gz
prosody-f8a0cbbad3059d4b360626c7ee5856a5eef3c4fe.zip
configmanager: Rename unused function argument [luacheck]
-rw-r--r--core/configmanager.lua2
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