diff options
author | Waqas Hussain <waqas20@gmail.com> | 2009-10-02 17:14:54 +0500 |
---|---|---|
committer | Waqas Hussain <waqas20@gmail.com> | 2009-10-02 17:14:54 +0500 |
commit | 727cc275bba229332912af42fe0e55524d73efdb (patch) | |
tree | 1698593f49c403ff2d25ee9c6bc7a78be9de44c2 /core/hostmanager.lua | |
parent | 498421b3bac3f259cc2a7b65cea6f7601a974d88 (diff) | |
parent | 271afa36733db02b9cace7261a16b8243505bf33 (diff) | |
download | prosody-727cc275bba229332912af42fe0e55524d73efdb.tar.gz prosody-727cc275bba229332912af42fe0e55524d73efdb.zip |
Merge
Diffstat (limited to 'core/hostmanager.lua')
-rw-r--r-- | core/hostmanager.lua | 2 |
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 |