Connection may be closed from our side too
1 files changed, 3 insertions(+), 1 deletions(-) M src/irc/irc_client.cpp
M src/irc/irc_client.cpp => src/irc/irc_client.cpp +3 -1
@@ 123,9 123,11 @@ void IrcClient::on_connected() void IrcClient::on_connection_close(const std::string& error_msg) { std::string message = "Connection closed by remote server."; std::string message = "Connection closed"; if (!error_msg.empty()) message += ": " + error_msg; else message += "."; const IrcMessage error{"ERROR", {message}}; this->on_error(error); log_warning(message);