author | Kim Alvefur <zash@zash.se> |
Sat, 23 Mar 2013 04:14:52 +0100 | |
changeset 5380 | e119e378b1d9 |
parent 5379 | 27de7cc94111 |
child 5381 | 30484214d49b |
child 5383 | 143670deee3e |
--- a/core/configmanager.lua Sat Mar 23 02:38:30 2013 +0100 +++ b/core/configmanager.lua Sat Mar 23 04:14:52 2013 +0100 @@ -25,7 +25,7 @@ local config = setmetatable({ ["*"] = { } }, config_mt); -- When host not found, use global -local host_mt = { }; +local host_mt = { __index = function(_, k) return config["*"][k] end } function getconfig() return config;