From faa5dcd40f41506628840967badc7cb40b531c75 Mon Sep 17 00:00:00 2001 From: Egor Date: Thu, 12 May 2022 20:50:09 +0300 Subject: [PATCH] don't log NEWACC --- irc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/irc.c b/irc.c index 2b02a0e..cef012e 100644 --- a/irc.c +++ b/irc.c @@ -167,7 +167,7 @@ int parsePacket(struct client_data *client) { args[argc] = NULL; } fprintf(stderr, "parsed %"PRISocket": %s", client->FD, command); - if (strcmp(command, "PASS") != 0 && strcmp(command, "OPER") != 0) { + if (strcmp(command, "PASS") != 0 && strcmp(command, "OPER") != 0 && strcmp(command, "NEWACC") != 0) { for (int i = 0; i < argc; i++){ fprintf(stderr, " %d:%s", i, args[i]); } -- 2.56.0