From b64d21a08b71677aeb086c89cb09c4ae114e0122 Mon Sep 17 00:00:00 2001 From: Michael Czigler <37268479+mcpcpc@users.noreply.github.com> Date: Sun, 27 Sep 2020 08:38:03 -0400 Subject: add highlight for channel parting --- kirc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kirc.c b/kirc.c index 91fb826..11b98f7 100644 --- a/kirc.c +++ b/kirc.c @@ -170,7 +170,7 @@ raw_parser(char *string) { } return; } else if (!strncmp(command, "90", 2)) { raw("CAP END\r\n"); - } else if (!strncmp(command, "QUIT", 4)) { + } else if (!strncmp(command, "QUIT", 4) || !strncmp(command, "PART", 4)) { printf("%*s<-- \x1b[34;1m%s\x1b[0m\n", g - 3, "", nickname); return; } else if (!strncmp(command, "JOIN", 4)) { -- cgit v1.2.3