Remove disconnected IrcClients

This commit is contained in:
Florent Le Coz
2014-01-04 01:59:35 +01:00
parent aa53276859
commit e8e592d1ac
6 changed files with 41 additions and 3 deletions
+8
View File
@@ -94,6 +94,14 @@ void XmppComponent::shutdown()
}
}
void XmppComponent::clean()
{
for (auto it = this->bridges.begin(); it != this->bridges.end(); ++it)
{
it->second->clean();
}
}
void XmppComponent::on_remote_stream_open(const XmlNode& node)
{
log_debug("XMPP DOCUMENT OPEN: " << node.to_string());