summaryrefslogtreecommitdiff
path: root/src/irc/irc_client.hpp
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2014-07-15 15:39:25 +0200
committerFlorent Le Coz <louiz@louiz.org>2014-07-15 15:39:25 +0200
commit11a31db2d5bcc158bb8902e74f192dbc82827f53 (patch)
tree045aa047a7a63c80c501d9f8be30e3cb2ac95ce8 /src/irc/irc_client.hpp
parent4582f1079767f53bb6bd9b96c358ea3c641aaa96 (diff)
downloadbiboumi-11a31db2d5bcc158bb8902e74f192dbc82827f53.tar.gz
biboumi-11a31db2d5bcc158bb8902e74f192dbc82827f53.tar.bz2
biboumi-11a31db2d5bcc158bb8902e74f192dbc82827f53.tar.xz
biboumi-11a31db2d5bcc158bb8902e74f192dbc82827f53.zip
Send the reason of the connection close to the user
Diffstat (limited to 'src/irc/irc_client.hpp')
-rw-r--r--src/irc/irc_client.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/irc/irc_client.hpp b/src/irc/irc_client.hpp
index afa6437..88d2d72 100644
--- a/src/irc/irc_client.hpp
+++ b/src/irc/irc_client.hpp
@@ -41,7 +41,7 @@ public:
/**
* Close the connection, remove us from the poller
*/
- void on_connection_close() override final;
+ void on_connection_close(const std::string& error) override final;
/**
* Parse the data we have received so far and try to get one or more
* complete messages from it.