diff options
author | Mantas Mikulėnas <grawity@gmail.com> | 2013-04-10 02:43:09 +0300 |
---|---|---|
committer | Mantas Mikulėnas <grawity@gmail.com> | 2013-04-10 02:43:09 +0300 |
commit | 780c3d29c7736fef38cc89d642a2284b1f16fb0f (patch) | |
tree | ae5983a9950b8e73ec8933369ab0c080b2866e19 /src | |
parent | 1a7831df2a1c4c84cefc3e4af5bcea4405de8e56 (diff) |
Request 'sasl' even if it's the only recognized cap
Diffstat (limited to 'src')
-rw-r--r-- | src/common/proto-irc.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |