diff options
author | Matthew Wild <mwild1@gmail.com> | 2015-05-18 19:03:07 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2015-05-18 19:03:07 +0100 |
commit | 7523668ad017bc468e2946b7744b92de90006fac (patch) | |
tree | 082159216d3d0acc06366f3a9e56a1db115d3b5d /core | |
parent | e1aa25912f064363e531029ef05b5a62b47361c1 (diff) | |
download | prosody-7523668ad017bc468e2946b7744b92de90006fac.tar.gz prosody-7523668ad017bc468e2946b7744b92de90006fac.zip |
configmanager: Rename variable to avoid name conflict [luacheck]
Diffstat (limited to 'core')
-rw-r--r-- | core/configmanager.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/configmanager.lua b/core/configmanager.lua index 48f039ea..5891c59a 100644 --- a/core/configmanager.lua +++ b/core/configmanager.lua @@ -54,11 +54,11 @@ function _M.rawget(host, key, _oldkey) end end -local function set(config, host, key, value) +local function set(config_table, host, key, value) if host and key then - local hostconfig = rawget(config, host); + local hostconfig = rawget(config_table, host); if not hostconfig then - hostconfig = rawset(config, host, setmetatable({}, host_mt))[host]; + hostconfig = rawset(config_table, host, setmetatable({}, host_mt))[host]; end hostconfig[key] = value; return true; |