aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2010-11-10 03:39:38 +0500
committerWaqas Hussain <waqas20@gmail.com>2010-11-10 03:39:38 +0500
commit67804ef1a34cba2c42ccf8324ad8fef8c04ddc47 (patch)
treede1b3d70afcf956438ca47d200659334565ef6a9 /plugins
parente75ae6d76d77c2337f3dadfe667ecd517dbbad36 (diff)
downloadprosody-67804ef1a34cba2c42ccf8324ad8fef8c04ddc47.tar.gz
prosody-67804ef1a34cba2c42ccf8324ad8fef8c04ddc47.zip
componentmanager, hostmanager, modulemanager, mod_component: Got rid of the useless hosts[*].connected property.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_component.lua2
1 files changed, 0 insertions, 2 deletions
diff --git a/plugins/mod_component.lua b/plugins/mod_component.lua
index 3caee1ea..1bbbd03d 100644
--- a/plugins/mod_component.lua
+++ b/plugins/mod_component.lua
@@ -29,7 +29,6 @@ local function on_destroy(session, err)
main_session = nil;
send = nil;
session.on_destroy = nil;
- hosts[session.host].connected = nil;
end
end
@@ -98,7 +97,6 @@ function handle_component_auth(event)
send = session.send;
main_session = session;
session.on_destroy = on_destroy;
- hosts[session.host].connected = true;
log("info", "Component successfully registered");
else
log("error", "Multiple components bound to the same address, first one wins (TODO: Implement stanza distribution)");