Software /
code /
prosody
Changeset
2536:922e6e84d0bf
hostmanager: Trailing whitespace
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 29 Jan 2010 17:09:20 +0000 |
parents | 2535:75bb31b6c53f |
children | 2537:80641e786b35 |
files | core/hostmanager.lua |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/core/hostmanager.lua Fri Jan 29 16:49:43 2010 +0000 +++ b/core/hostmanager.lua Fri Jan 29 17:09:20 2010 +0000 @@ -48,10 +48,10 @@ eventmanager.add_event_hook("server-starting", load_enabled_hosts); function activate(host, host_config) - hosts[host] = {type = "local", connected = true, sessions = {}, - host = host, s2sout = {}, events = events_new(), - disallow_s2s = configmanager.get(host, "core", "disallow_s2s") - or (configmanager.get(host, "core", "anonymous_login") + hosts[host] = {type = "local", connected = true, sessions = {}, + host = host, s2sout = {}, events = events_new(), + disallow_s2s = configmanager.get(host, "core", "disallow_s2s") + or (configmanager.get(host, "core", "anonymous_login") and (configmanager.get(host, "core", "disallow_s2s") ~= false)); dialback_secret = configmanager.get(host, "core", "dialback_secret") or uuid_gen(); };