aboutsummaryrefslogtreecommitdiffstats
path: root/core/hostmanager.lua
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2009-10-02 17:14:54 +0500
committerWaqas Hussain <waqas20@gmail.com>2009-10-02 17:14:54 +0500
commit727cc275bba229332912af42fe0e55524d73efdb (patch)
tree1698593f49c403ff2d25ee9c6bc7a78be9de44c2 /core/hostmanager.lua
parent498421b3bac3f259cc2a7b65cea6f7601a974d88 (diff)
parent271afa36733db02b9cace7261a16b8243505bf33 (diff)
downloadprosody-727cc275bba229332912af42fe0e55524d73efdb.tar.gz
prosody-727cc275bba229332912af42fe0e55524d73efdb.zip
Merge
Diffstat (limited to 'core/hostmanager.lua')
-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