From: Egor Date: Thu, 12 May 2022 17:50:09 +0000 (+0300) Subject: don't log NEWACC X-Git-Url: https://git.patchysicp.xyz/?a=commitdiff_plain;h=faa5dcd40f41506628840967badc7cb40b531c75;p=patchyircd.git don't log NEWACC --- 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]); }