summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/irc/irc_client.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/irc/irc_client.cpp b/src/irc/irc_client.cpp
index 6e22980..cc54971 100644
--- a/src/irc/irc_client.cpp
+++ b/src/irc/irc_client.cpp
@@ -96,7 +96,6 @@ void IrcClient::on_connected()
void IrcClient::on_connection_close()
{
static const std::string message = "Connection closed by remote server.";
- this->send_gateway_message(message);
const IrcMessage error{"ERROR", {message}};
this->on_error(error);
log_warning(message);