Software /
code /
prosody
Changeset
4052:1b9e691d2f47
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 |
parents | 4051:d343a76431cf |
children | 4053:3d0f54f3906a |
files | core/hostmanager.lua |
diffstat | 1 files changed, 0 insertions(+), 3 deletions(-) [+] |
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