Software /
code /
prosody
Diff
core/configmanager.lua @ 6715:03a283aa679e
configmanager: Rename unused function argument [luacheck]
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Mon, 18 May 2015 19:05:26 +0100 |
parent | 6714:429068c24ea0 |
child | 6716:2b78754b0f1c |
line wrap: on
line diff
--- a/core/configmanager.lua Mon May 18 19:05:08 2015 +0100 +++ b/core/configmanager.lua Mon May 18 19:05:26 2015 +0100 @@ -28,7 +28,7 @@ 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