Software /
code /
prosody
Diff
core/hostmanager.lua @ 3984:6be419e2f509
hostmanager: Don't set host.disallow_s2s when anonymous_login=true (mod_auth_anonymous does this now).
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Tue, 28 Dec 2010 09:58:40 +0500 |
parent | 3717:135128fdf565 |
child | 4460:a813a130cede |
line wrap: on
line diff
--- a/core/hostmanager.lua Tue Dec 28 05:28:15 2010 +0500 +++ b/core/hostmanager.lua Tue Dec 28 09:58:40 2010 +0500 @@ -67,9 +67,6 @@ if not host_config.core.component_module then -- host host_session.type = "local"; host_session.sessions = {}; - if configmanager.get(host, "core", "anonymous_login") then - host_session.disallow_s2s = (configmanager.get(host, "core", "disallow_s2s") ~= false); - end else -- component host_session.type = "component"; end