aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
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)");