Skip to content

Commit b64d21a

Browse files
authored
add highlight for channel parting
1 parent e54a96b commit b64d21a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kirc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ raw_parser(char *string) {
170170
} return;
171171
} else if (!strncmp(command, "90", 2)) {
172172
raw("CAP END\r\n");
173-
} else if (!strncmp(command, "QUIT", 4)) {
173+
} else if (!strncmp(command, "QUIT", 4) || !strncmp(command, "PART", 4)) {
174174
printf("%*s<-- \x1b[34;1m%s\x1b[0m\n", g - 3, "", nickname);
175175
return;
176176
} else if (!strncmp(command, "JOIN", 4)) {

0 commit comments

Comments
 (0)