diff options
author | Waqas Hussain <waqas20@gmail.com> | 2010-12-28 09:58:40 +0500 |
---|---|---|
committer | Waqas Hussain <waqas20@gmail.com> | 2010-12-28 09:58:40 +0500 |
commit | a2b49b64ae934a578130dff7efbb48a1a8627048 (patch) | |
tree | f22efda5ac7de2ca5e46a0a37e9219a1b8724326 /core | |
parent | 55d5f1ffe35463b0a0790af1b9131110f7a756ad (diff) | |
download | prosody-a2b49b64ae934a578130dff7efbb48a1a8627048.tar.gz prosody-a2b49b64ae934a578130dff7efbb48a1a8627048.zip |
hostmanager: Don't set host.disallow_s2s when anonymous_login=true (mod_auth_anonymous does this now).
Diffstat (limited to 'core')
-rw-r--r-- | core/hostmanager.lua | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/core/hostmanager.lua b/core/hostmanager.lua index 251ae3a2..9e74cd6b 100644 --- a/core/hostmanager.lua +++ b/core/hostmanager.lua @@ -67,9 +67,6 @@ function activate(host, host_config) 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 |