hostmanager: Don't set host.disallow_s2s when anonymous_login=true (mod_auth_anonymou...
authorWaqas Hussain <waqas20@gmail.com>
Tue, 28 Dec 2010 04:58:40 +0000 (09:58 +0500)
committerWaqas Hussain <waqas20@gmail.com>
Tue, 28 Dec 2010 04:58:40 +0000 (09:58 +0500)
core/hostmanager.lua

index 251ae3a2921fbba9d30a3dfa37472bced43bfb15..9e74cd6bb5cdf0f5090381f3ce30bda3321b4df2 100644 (file)
@@ -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