summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2014-06-19 01:10:13 +0200
committerFlorent Le Coz <louiz@louiz.org>2014-06-19 01:10:13 +0200
commita705b9af7b1bbce6b6c94788398a4cff9cad9ec9 (patch)
treec8b353c2b2104069f6377305d5ca71caecf348a8 /src
parent77fe8b89a3a1debe59051b21776c1c6cf67a6070 (diff)
downloadbiboumi-a705b9af7b1bbce6b6c94788398a4cff9cad9ec9.tar.gz
biboumi-a705b9af7b1bbce6b6c94788398a4cff9cad9ec9.tar.bz2
biboumi-a705b9af7b1bbce6b6c94788398a4cff9cad9ec9.tar.xz
biboumi-a705b9af7b1bbce6b6c94788398a4cff9cad9ec9.zip
Remove a duplicate “connection closed” message
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);