From 780c3d29c7736fef38cc89d642a2284b1f16fb0f Mon Sep 17 00:00:00 2001 From: Mantas Mikulėnas Date: Wed, 10 Apr 2013 02:43:09 +0300 Subject: Request 'sasl' even if it's the only recognized cap --- src/common/proto-irc.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/common/proto-irc.c') diff --git a/src/common/proto-irc.c b/src/common/proto-irc.c index 5beb35f2..48dac889 100644 --- a/src/common/proto-irc.c +++ b/src/common/proto-irc.c @@ -1264,6 +1264,7 @@ process_named_msg (session *sess, char *type, char *word[], char *word_eol[]) if (strstr (word_eol[5], "sasl") != 0 && strlen (sess->server->saslpassword) != 0) { want_cap ? strcat (buffer, " sasl") : strcpy (buffer, "CAP REQ :sasl"); + want_cap = 1; want_sasl = 1; } -- cgit 1.4.1