From 67804ef1a34cba2c42ccf8324ad8fef8c04ddc47 Mon Sep 17 00:00:00 2001 From: Waqas Hussain Date: Wed, 10 Nov 2010 03:39:38 +0500 Subject: componentmanager, hostmanager, modulemanager, mod_component: Got rid of the useless hosts[*].connected property. --- core/hostmanager.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/hostmanager.lua') 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") -- cgit v1.2.3