Software /
code /
prosody
Diff
core/hostmanager.lua @ 1848:0033359aeb70
hostmanager: Only load vhosts, not components
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Wed, 30 Sep 2009 11:01:21 +0100 |
parent | 1614:951ed38ad64f |
child | 1893:2d202336c9b6 |
line wrap: on
line diff
--- 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