diff options
author | June McEnroe <june@causal.agency> | 2020-02-27 02:56:54 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2020-02-27 02:56:54 -0500 |
commit | 21bb677c1f395541a1b0610a0f576d58ce778273 (patch) | |
tree | 5860433bdc64a69a677926f7ba48bd6da78a508d /client.c | |
parent | Properly treat CAP LS version as a number (diff) | |
download | pounce-21bb677c1f395541a1b0610a0f576d58ce778273.tar.gz pounce-21bb677c1f395541a1b0610a0f576d58ce778273.zip |
Send CAP LS 302 to the server
Diffstat (limited to '')
-rw-r--r-- | client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client.c b/client.c index 92ca632..3a1d9d6 100644 --- a/client.c +++ b/client.c @@ -193,7 +193,7 @@ static void handleCap(struct Client *client, struct Message *msg) { } else if (!strcmp(msg->params[0], "REQ") && msg->params[1]) { if (client->need) client->need |= NeedCapEnd; - enum Cap caps = capParse(msg->params[1]); + enum Cap caps = capParse(msg->params[1], NULL); if (caps == (avail & caps)) { client->caps |= caps; clientFormat(client, ":%s CAP * ACK :%s\r\n", ORIGIN, msg->params[1]); |