Commit a705b9af authored by louiz’'s avatar louiz’

Remove a duplicate “connection closed” message

parent 77fe8b89
...@@ -96,7 +96,6 @@ void IrcClient::on_connected() ...@@ -96,7 +96,6 @@ void IrcClient::on_connected()
void IrcClient::on_connection_close() void IrcClient::on_connection_close()
{ {
static const std::string message = "Connection closed by remote server."; static const std::string message = "Connection closed by remote server.";
this->send_gateway_message(message);
const IrcMessage error{"ERROR", {message}}; const IrcMessage error{"ERROR", {message}};
this->on_error(error); this->on_error(error);
log_warning(message); log_warning(message);
......
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