projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
84d1695
)
hostmanager: Don't set host.disallow_s2s when anonymous_login=true (mod_auth_anonymou...
author
Waqas Hussain
<waqas20@gmail.com>
Tue, 28 Dec 2010 04:58:40 +0000
(09:58 +0500)
committer
Waqas Hussain
<waqas20@gmail.com>
Tue, 28 Dec 2010 04:58:40 +0000
(09:58 +0500)
core/hostmanager.lua
patch
|
blob
|
history
diff --git
a/core/hostmanager.lua
b/core/hostmanager.lua
index 251ae3a2921fbba9d30a3dfa37472bced43bfb15..9e74cd6bb5cdf0f5090381f3ce30bda3321b4df2 100644
(file)
--- 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 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
else -- component
host_session.type = "component";
end