From 455e77f21d657b34d8fa6910fb2c0c32d2ea4085 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Thu, 9 Jul 2009 14:34:49 +0100 Subject: configmanager, modulemanager: Allow components to have modules specified in the config (but don't load the global set of modules for them) --- core/configmanager.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/configmanager.lua') diff --git a/core/configmanager.lua b/core/configmanager.lua index 37646017..77cfd575 100644 --- a/core/configmanager.lua +++ b/core/configmanager.lua @@ -123,7 +123,7 @@ do function env.Component(name) set(name, "core", "component_module", "component"); -- Don't load the global modules by default - set(name, "core", "modules_enable", false); + set(name, "core", "load_global_modules", false); rawset(env, "__currenthost", name); return function (module) -- cgit v1.2.3