Software /
code /
prosody
Diff
core/hostmanager.lua @ 3587:d94aacb2771a
componentmanager, hostmanager, modulemanager, mod_component: Got rid of the useless hosts[*].connected property.
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Wed, 10 Nov 2010 03:39:38 +0500 |
parent | 3571:675d65036f31 |
child | 3594:d3b57562cd87 |
line wrap: on
line diff
--- a/core/hostmanager.lua Wed Nov 10 02:51:36 2010 +0500 +++ b/core/hostmanager.lua Wed Nov 10 03:39:38 2010 +0500 @@ -49,7 +49,7 @@ prosody_events.add_handler("server-starting", load_enabled_hosts); function activate(host, host_config) - hosts[host] = {type = "local", connected = true, sessions = {}, + hosts[host] = {type = "local", sessions = {}, host = host, s2sout = {}, events = events_new(), disallow_s2s = configmanager.get(host, "core", "disallow_s2s") or (configmanager.get(host, "core", "anonymous_login")