diff options
author | Matthew Wild <mwild1@gmail.com> | 2010-01-29 17:09:20 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2010-01-29 17:09:20 +0000 |
commit | 2c384fccc25d6ced56dfd53e55a8a9c0efc2998a (patch) | |
tree | 8817e3740c16886a8ec2a4043d9bf71ec00ee5f9 /core | |
parent | fd8c12ab1aa2e4a83c2582b898804c8f5b8a5d56 (diff) | |
download | prosody-2c384fccc25d6ced56dfd53e55a8a9c0efc2998a.tar.gz prosody-2c384fccc25d6ced56dfd53e55a8a9c0efc2998a.zip |
hostmanager: Trailing whitespace
Diffstat (limited to 'core')
-rw-r--r-- | core/hostmanager.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/core/hostmanager.lua b/core/hostmanager.lua index b3493e67..a145e7c1 100644 --- a/core/hostmanager.lua +++ b/core/hostmanager.lua @@ -48,10 +48,10 @@ end 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(); }; |