mirror of
https://github.com/moparisthebest/hexchat
synced 2024-11-15 13:55:04 -05:00
Merge pull request #527 from grawity/cap-req-sasl
Request 'sasl' even if it's the only recognized cap
This commit is contained in:
commit
a99111172d
@ -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)
|
if (strstr (word_eol[5], "sasl") != 0 && strlen (sess->server->saslpassword) != 0)
|
||||||
{
|
{
|
||||||
want_cap ? strcat (buffer, " sasl") : strcpy (buffer, "CAP REQ :sasl");
|
want_cap ? strcat (buffer, " sasl") : strcpy (buffer, "CAP REQ :sasl");
|
||||||
|
want_cap = 1;
|
||||||
want_sasl = 1;
|
want_sasl = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user