aboutsummaryrefslogtreecommitdiffstats
path: root/core/configmanager.lua
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
commit0558bfbcb73769eb66b2e5514eb90b4afd5347b2 (patch)
tree450c3f1a83b26b3ba20f81b90ef17b8efdd25874 /core/configmanager.lua
parent9dcab343823a51f6a4bd56eb3d69de21f79a9aae (diff)
downloadprosody-0558bfbcb73769eb66b2e5514eb90b4afd5347b2.tar.gz
prosody-0558bfbcb73769eb66b2e5514eb90b4afd5347b2.zip
configmanager: Rename unused function argument [luacheck]
Diffstat (limited to 'core/configmanager.lua')
-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