Commit 28065d3d authored by louiz’'s avatar louiz’

Do not disconnect from the IRC server if the dummy channel is joined

parent 5739d418
......@@ -645,7 +645,10 @@ void IrcClient::on_user_mode(const IrcMessage& message)
size_t IrcClient::number_of_joined_channels() const
return this->channels.size();
if (this->dummy_channel.joined)
return this->channels.size() + 1;
return this->channels.size();
DummyIrcChannel& IrcClient::get_dummy_channel()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment