diff -r 7cf44a5c0991 -r 05d209ef9661 core/modulemanager.lua --- a/core/modulemanager.lua Sat May 02 17:03:48 2009 +0100 +++ b/core/modulemanager.lua Sun May 03 01:11:21 2009 +0100 @@ -53,6 +53,10 @@ -- Load modules when a host is activated function load_modules_for_host(host) + if config.get(host, "core", "modules_enable") == false then + return; -- Only load for hosts, not components, etc. + end + -- Load modules from global section local modules_enabled = config.get("*", "core", "modules_enabled"); local modules_disabled = config.get(host, "core", "modules_disabled");