--- a/plugins/mod_component.lua Wed Nov 10 02:51:36 2010 +0500 +++ b/plugins/mod_component.lua Wed Nov 10 03:39:38 2010 +0500 @@ -29,7 +29,6 @@ main_session = nil; send = nil; session.on_destroy = nil; - hosts[session.host].connected = nil; end end @@ -98,7 +97,6 @@ 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)");