aboutsummaryrefslogtreecommitdiffstats
path: root/core/hostmanager.lua
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2010-12-28 09:58:40 +0500
committerWaqas Hussain <waqas20@gmail.com>2010-12-28 09:58:40 +0500
commita2b49b64ae934a578130dff7efbb48a1a8627048 (patch)
treef22efda5ac7de2ca5e46a0a37e9219a1b8724326 /core/hostmanager.lua
parent55d5f1ffe35463b0a0790af1b9131110f7a756ad (diff)
downloadprosody-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/hostmanager.lua')
-rw-r--r--core/hostmanager.lua3
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