From 57cc2b5c0176de59c680e494deff482b55ca7b84 Mon Sep 17 00:00:00 2001 From: Egor Date: Wed, 24 Jan 2024 05:02:47 +0200 Subject: [PATCH] add all the caps to CAP LS --- src/irc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/irc.c b/src/irc.c index 66f296d..fb28f67 100644 --- a/src/irc.c +++ b/src/irc.c @@ -213,7 +213,7 @@ int processPacket(struct client_data *client, char *source, char *command, int a if (strcmp(args[0], "LS") == 0) { if (args[1] && atoi(args[1]) >= 302) client->caps |= CAP_302; - copy_strf(&databuf, ":%s CAP * LS :multi-prefix extended-join away-notify invite-notify\r\n", hostname); + copy_strf(&databuf, ":%s CAP * LS :cap-notify multi-prefix extended-join away-notify invite-notify extended-monitor chghost setname account-notify\r\n", hostname); sendbuf(client); if (!is_registered(client)) { client->regstate = REG_CAPLS; -- 2.56.0