--- a/core/configmanager.lua Mon May 18 22:04:12 2015 +0200
+++ b/core/configmanager.lua Mon May 18 19:03:07 2015 +0100
@@ -54,11 +54,11 @@
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;