65 disallow_s2s = configmanager.get(host, "core", "disallow_s2s"); |
65 disallow_s2s = configmanager.get(host, "core", "disallow_s2s"); |
66 }; |
66 }; |
67 if not host_config.core.component_module then -- host |
67 if not host_config.core.component_module then -- host |
68 host_session.type = "local"; |
68 host_session.type = "local"; |
69 host_session.sessions = {}; |
69 host_session.sessions = {}; |
70 if configmanager.get(host, "core", "anonymous_login") then |
|
71 host_session.disallow_s2s = (configmanager.get(host, "core", "disallow_s2s") ~= false); |
|
72 end |
|
73 else -- component |
70 else -- component |
74 host_session.type = "component"; |
71 host_session.type = "component"; |
75 end |
72 end |
76 hosts[host] = host_session; |
73 hosts[host] = host_session; |
77 if not host:match("[@/]") then |
74 if not host:match("[@/]") then |