aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-09-30 11:01:21 +0100
committerMatthew Wild <mwild1@gmail.com>2009-09-30 11:01:21 +0100
commit3a70cdac4976bc5ee4cbac96800f8eae18621be1 (patch)
tree41c6e20811c31a4aa33fc48bc9ce3012373f4408
parentd937a3e04370ddb4a3bbb172e152b89ce8036cfd (diff)
downloadprosody-3a70cdac4976bc5ee4cbac96800f8eae18621be1.tar.gz
prosody-3a70cdac4976bc5ee4cbac96800f8eae18621be1.zip
hostmanager: Only load vhosts, not components
-rw-r--r--core/hostmanager.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/hostmanager.lua b/core/hostmanager.lua
index ba363273..4934e7b2 100644
--- a/core/hostmanager.lua
+++ b/core/hostmanager.lua
@@ -24,7 +24,7 @@ local function load_enabled_hosts(config)
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