diff options
author | Waqas Hussain <waqas20@gmail.com> | 2010-11-10 03:39:38 +0500 |
---|---|---|
committer | Waqas Hussain <waqas20@gmail.com> | 2010-11-10 03:39:38 +0500 |
commit | 67804ef1a34cba2c42ccf8324ad8fef8c04ddc47 (patch) | |
tree | de1b3d70afcf956438ca47d200659334565ef6a9 /core/hostmanager.lua | |
parent | e75ae6d76d77c2337f3dadfe667ecd517dbbad36 (diff) | |
download | prosody-67804ef1a34cba2c42ccf8324ad8fef8c04ddc47.tar.gz prosody-67804ef1a34cba2c42ccf8324ad8fef8c04ddc47.zip |
componentmanager, hostmanager, modulemanager, mod_component: Got rid of the useless hosts[*].connected property.
Diffstat (limited to 'core/hostmanager.lua')
-rw-r--r-- | core/hostmanager.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/hostmanager.lua b/core/hostmanager.lua index 26a39691..bd44d258 100644 --- a/core/hostmanager.lua +++ b/core/hostmanager.lua @@ -49,7 +49,7 @@ end 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") |