aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/hostmanager.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/hostmanager.lua b/core/hostmanager.lua
index 9a5b2728..fddf1769 100644
--- a/core/hostmanager.lua
+++ b/core/hostmanager.lua
@@ -54,6 +54,7 @@ prosody_events.add_handler("server-starting", load_enabled_hosts);
function activate(host, host_config)
if hosts[host] then return nil, "host-already-exists"; end
+ host_config = host_config or configmanager.getconfig()[host];
local host_session = {
host = host;
s2sout = {};