Better way to leave the dummy room

This commit is contained in:
Florent Le Coz
2014-04-15 04:56:50 +02:00
parent 0d9c1ba313
commit 5739d418e2
5 changed files with 26 additions and 2 deletions
+6
View File
@@ -48,6 +48,12 @@ void IrcChannel::remove_user(const IrcUser* user)
}
}
void IrcChannel::remove_all_users()
{
this->users.clear();
this->self.reset();
}
DummyIrcChannel::DummyIrcChannel():
IrcChannel(),
joining(false)