From: Waqas Hussain Date: Tue, 28 Dec 2010 04:58:40 +0000 (+0500) Subject: hostmanager: Don't set host.disallow_s2s when anonymous_login=true (mod_auth_anonymou... X-Git-Url: https://git.enpas.org/?a=commitdiff_plain;h=61b307075cc10466718bf59be50a015d290ee0d1;p=prosody.git hostmanager: Don't set host.disallow_s2s when anonymous_login=true (mod_auth_anonymous does this now). --- 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