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 | ff637cb817532aeea0272d3eecce1b469d8a8d3c (patch) | |
tree | 7e0ec8f89599c1ff0396017811919bbd8734bfca | |
parent | 1a6f60183cef9c22e89656f3880d8ae0abcc7c90 (diff) | |
download | prosody-ff637cb817532aeea0272d3eecce1b469d8a8d3c.tar.gz prosody-ff637cb817532aeea0272d3eecce1b469d8a8d3c.zip |
hostmanager: Don't set host.disallow_s2s when anonymous_login=true (mod_auth_anonymous does this now).
-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 |