summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorTingPing <tngpng@gmail.com>2013-04-09 17:50:26 -0700
committerTingPing <tngpng@gmail.com>2013-04-09 17:50:26 -0700
commita99111172dba67879e6e8dfdba3385872159cecd (patch)
treeae5983a9950b8e73ec8933369ab0c080b2866e19
parent1a7831df2a1c4c84cefc3e4af5bcea4405de8e56 (diff)
parent780c3d29c7736fef38cc89d642a2284b1f16fb0f (diff)
Merge pull request #527 from grawity/cap-req-sasl
Request 'sasl' even if it's the only recognized cap
-rw-r--r--src/common/proto-irc.c1
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;
 					}