Delete empty bridges objects

This commit is contained in:
Florent Le Coz
2014-02-20 02:31:16 +01:00
parent 190c4ff176
commit 61ca40fa0e
3 changed files with 15 additions and 1 deletions
+5
View File
@@ -249,6 +249,11 @@ std::string Bridge::get_own_nick(const Iid& iid)
return "";
}
size_t Bridge::connected_clients() const
{
return this->irc_clients.size();
}
void Bridge::kick_muc_user(Iid&& iid, const std::string& target, const std::string& reason, const std::string& author)
{
this->xmpp->kick_user(iid.chan + "%" + iid.server, target, reason, author, this->user_jid);