From 8f0a4dc00e84ccc6a4a17c16d3f359b4d530523b Mon Sep 17 00:00:00 2001 From: Egor Date: Wed, 11 May 2022 12:35:25 +0300 Subject: [PATCH] send error on CAP We went full circle. Some clients hang if they don't get response from CAP. --- irc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/irc.c b/irc.c index 5664232..62668f7 100644 --- a/irc.c +++ b/irc.c @@ -167,6 +167,7 @@ int processPacket(struct client_data *client, char *source, char *command, int a stringupper(args[0]); // don't enable CAP command until we actually have CAPs // because clients can't handle NAKs + goto unknown; #if 0 if (strcmp(args[0], "LS") == 0) { // at least one client hangs if it doesn't see a known extension -- 2.56.0