From: Egor Date: Mon, 2 May 2022 19:54:31 +0000 (+0300) Subject: don't kick when command is empty X-Git-Url: https://git.patchysicp.xyz/?a=commitdiff_plain;h=37787dfcf61cca2485082080df7c4e3739d8eb75;p=patchyircd.git don't kick when command is empty --- diff --git a/irc.c b/irc.c index 586926f..e045c96 100644 --- a/irc.c +++ b/irc.c @@ -28,8 +28,7 @@ int processPacket(struct client_data *client) { while (*p != ' ' && *p != '\n') p++; if (*p++ == '\n') { - killConnection(client, true); - return 1; // no command + return 0; // no command } p[-1] = '\0'; }