Correctly use the dummy channel whenever we interract with an empty-string chan
1 files changed, 2 insertions(+), 0 deletions(-) M src/irc/irc_client.cpp
M src/irc/irc_client.cpp => src/irc/irc_client.cpp +2 -0
@@ 59,6 59,8 @@ void IrcClient::on_connection_close() IrcChannel* IrcClient::get_channel(const std::string& name) { + if (name.empty()) + return &this->dummy_channel; try { return this->channels.at(name).get();