From 7523668ad017bc468e2946b7744b92de90006fac Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Mon, 18 May 2015 19:03:07 +0100 Subject: configmanager: Rename variable to avoid name conflict [luacheck] --- core/configmanager.lua | 6 +++--- 1 file 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; -- cgit v1.2.3