From 21bb677c1f395541a1b0610a0f576d58ce778273 Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Thu, 27 Feb 2020 02:56:54 -0500 Subject: Send CAP LS 302 to the server --- client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client.c') 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]); -- cgit 1.4.1