diff options
author | Florent Le Coz <louiz@louiz.org> | 2013-12-27 12:01:26 +0100 |
---|---|---|
committer | Florent Le Coz <louiz@louiz.org> | 2014-01-04 01:59:35 +0100 |
commit | e8e592d1ace5413a1e7d8b59b9467c78d8d68ea9 (patch) | |
tree | 5652ccbca535cffa442a1a13729e4ac93ba4dfe2 /src/xmpp/xmpp_component.cpp | |
parent | aa53276859a5fc80071d24111a311297e058e603 (diff) | |
download | biboumi-e8e592d1ace5413a1e7d8b59b9467c78d8d68ea9.tar.gz biboumi-e8e592d1ace5413a1e7d8b59b9467c78d8d68ea9.tar.bz2 biboumi-e8e592d1ace5413a1e7d8b59b9467c78d8d68ea9.tar.xz biboumi-e8e592d1ace5413a1e7d8b59b9467c78d8d68ea9.zip |
Remove disconnected IrcClients
Diffstat (limited to 'src/xmpp/xmpp_component.cpp')
-rw-r--r-- | src/xmpp/xmpp_component.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/xmpp/xmpp_component.cpp b/src/xmpp/xmpp_component.cpp index dc77934..3c37eb1 100644 --- a/src/xmpp/xmpp_component.cpp +++ b/src/xmpp/xmpp_component.cpp @@ -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()); |