summaryrefslogtreecommitdiff
path: root/src/irc
diff options
context:
space:
mode:
authorMantas Mikulėnas <grawity@gmail.com>2016-03-08 23:00:20 +0200
committerMantas Mikulėnas <grawity@gmail.com>2016-03-08 23:13:03 +0200
commit4baefd25747df116c19ea1301c5fe8fb7eef3716 (patch)
treed4ff1dfaf94d6a45c6f2bc4403205419fccfde8b /src/irc
parent64bac950fc2325a0ec8bb4369e64124cb85c2753 (diff)
downloadirssi-4baefd25747df116c19ea1301c5fe8fb7eef3716.zip
Fix SASL EXTERNAL authentication
The "AUTHENTICATE" command is always required – it's part of the IRCv3 SASL framing. RFC 4422 only documents the Base64 payload.
Diffstat (limited to 'src/irc')
-rw-r--r--src/irc/core/sasl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/irc/core/sasl.c b/src/irc/core/sasl.c
index a04eaf45..8fba9ba2 100644
--- a/src/irc/core/sasl.c
+++ b/src/irc/core/sasl.c
@@ -145,7 +145,7 @@ static void sasl_step(IRC_SERVER_REC *server, const char *data, const char *from
case SASL_MECHANISM_EXTERNAL:
/* Empty response */
- irc_send_cmdv(server, "+");
+ irc_send_cmdv(server, "AUTHENTICATE +");
break;
}