aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/configmanager.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/configmanager.lua b/core/configmanager.lua
index 7fc6aa13..b7ee605f 100644
--- a/core/configmanager.lua
+++ b/core/configmanager.lua
@@ -113,6 +113,7 @@ do
set(env.__currenthost or "*", "core", k, v);
end});
+ rawset(env, "__currenthost", "*") -- Default is global
function env.Host(name)
rawset(env, "__currenthost", name);
-- Needs at least one setting to logically exist :)