Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save atomicules/5565141 to your computer and use it in GitHub Desktop.
Save atomicules/5565141 to your computer and use it in GitHub Desktop.
diff --git a/sic.c b/sic.c
index d93c2ec..bc09eee 100644
--- a/sic.c
+++ b/sic.c
@@ -118,7 +118,7 @@ parsesrv(char *cmd) {
par = skip(cmd, ' ');
txt = skip(par, ':');
trim(par);
- if(!strcmp("PONG", cmd))
+ if(!strcmp("PONG", cmd) || !strcmp("QUIT", cmd) || !strcmp("JOIN", cmd))
return;
if(!strcmp("PRIVMSG", cmd))
pout(par, "<%s> %s", usr, txt);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment