summaryrefslogtreecommitdiff
path: root/src/fe-common
diff options
context:
space:
mode:
authorLemonBoy <thatlemon@gmail.com>2016-10-20 21:41:36 +0200
committerLemonBoy <thatlemon@gmail.com>2016-12-12 21:41:07 +0100
commit4ccffd85ffd06325687546f78b78e3e7fce575c5 (patch)
treee75c659ca06281cdc0f532cdc81e8121861755c1 /src/fe-common
parent91c9e871c78e203aed834edd1e1f558680a6ccfa (diff)
downloadirssi-4ccffd85ffd06325687546f78b78e3e7fce575c5.zip
Expose 'sasl_success' to the perl side.
Diffstat (limited to 'src/fe-common')
-rw-r--r--src/fe-common/irc/fe-sasl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-common/irc/fe-sasl.c b/src/fe-common/irc/fe-sasl.c
index dfbfc84a..4c86f850 100644
--- a/src/fe-common/irc/fe-sasl.c
+++ b/src/fe-common/irc/fe-sasl.c
@@ -42,7 +42,7 @@ static void sig_cap_end(IRC_SERVER_REC *server)
{
/* The negotiation has now been terminated, if we didn't manage to
* authenticate successfully with the server just disconnect. */
- if (server->sasl_success == FALSE &&
+ if (!server->sasl_success &&
settings_get_bool("sasl_disconnect_on_failure"))
server_disconnect(SERVER(server));