# HG changeset patch # User Matthew Wild # Date 1254304881 -3600 # Node ID 0033359aeb700c946c36a05b653965134b9c16f4 # Parent fdb43fc1bafc16ed7d2054bcccffded94bf4055e hostmanager: Only load vhosts, not components diff -r fdb43fc1bafc -r 0033359aeb70 core/hostmanager.lua --- a/core/hostmanager.lua Tue Sep 29 19:54:31 2009 +0100 +++ b/core/hostmanager.lua Wed Sep 30 11:01:21 2009 +0100 @@ -24,7 +24,7 @@ local defined_hosts = config or configmanager.getconfig(); for host, host_config in pairs(defined_hosts) do - if host ~= "*" and (host_config.core.enabled == nil or host_config.core.enabled) then + if host ~= "*" and (host_config.core.enabled == nil or host_config.core.enabled) and not host_config.core.component_module then activate(host, host_config); end end