Request 'sasl' even if it's the only recognized cap

This commit is contained in:
Mantas Mikulėnas 2013-04-10 02:43:09 +03:00
parent 1a7831df2a
commit 780c3d29c7
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}