summaryrefslogtreecommitdiff
path: root/src/irc/irc_client.hpp
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2020-08-12 09:40:36 +0200
committerlouiz’ <louiz@louiz.org>2020-08-12 09:40:36 +0200
commit063e6b127ecf92ca5bf8c4ecb137b60e3e7aa216 (patch)
tree7e9898c0f100d87c3480016b3ec5400828469116 /src/irc/irc_client.hpp
parent4d6fdb0795b0d7e306988c6ff32f51545c2fd7f4 (diff)
downloadbiboumi-063e6b127ecf92ca5bf8c4ecb137b60e3e7aa216.tar.gz
biboumi-063e6b127ecf92ca5bf8c4ecb137b60e3e7aa216.tar.bz2
biboumi-063e6b127ecf92ca5bf8c4ecb137b60e3e7aa216.tar.xz
biboumi-063e6b127ecf92ca5bf8c4ecb137b60e3e7aa216.zip
Handle SASL failures by displaying a message and aborting the connection9.0-rc1
Diffstat (limited to 'src/irc/irc_client.hpp')
-rw-r--r--src/irc/irc_client.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/irc/irc_client.hpp b/src/irc/irc_client.hpp
index 9f77e29..ac2f6a9 100644
--- a/src/irc/irc_client.hpp
+++ b/src/irc/irc_client.hpp
@@ -247,8 +247,9 @@ private:
public:
#ifdef WITH_SASL
void on_authenticate(const IrcMessage& message);
- void on_sasl_success(const IrcMessage& message);
void on_sasl_login(const IrcMessage& message);
+ void on_sasl_success(const IrcMessage& message);
+ void on_sasl_failure(const IrcMessage& message);
#endif
/**
* The channel has been completely joined (self presence, topic, all names