summaryrefslogtreecommitdiff
path: root/server/src/config.lua
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/config.lua')
-rw-r--r--server/src/config.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/server/src/config.lua b/server/src/config.lua
index 5272a964..2c04858f 100644
--- a/server/src/config.lua
+++ b/server/src/config.lua
@@ -133,6 +133,8 @@ local function setConfig(self, config, other)
local suc, v = info[2](v)
if suc then
Config[c][k] = v
+ else
+ Config[c][k] = info[1]
end
end
end
@@ -141,6 +143,8 @@ local function setConfig(self, config, other)
local suc, v = info[2](v)
if suc then
Other[k] = v
+ else
+ Other[k] = info[1]
end
end
log.debug('Config update: ', table.dump(Config), table.dump(Other))