diff options
author | TingPing <tngpng@gmail.com> | 2013-04-09 17:50:26 -0700 |
---|---|---|
committer | TingPing <tngpng@gmail.com> | 2013-04-09 17:50:26 -0700 |
commit | a99111172dba67879e6e8dfdba3385872159cecd (patch) | |
tree | ae5983a9950b8e73ec8933369ab0c080b2866e19 /src/common | |
parent | 1a7831df2a1c4c84cefc3e4af5bcea4405de8e56 (diff) | |
parent | 780c3d29c7736fef38cc89d642a2284b1f16fb0f (diff) |
Merge pull request #527 from grawity/cap-req-sasl
Request 'sasl' even if it's the only recognized cap
Diffstat (limited to 'src/common')
-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; } |