sic-alert-20160604-9bb34de.diff (385B)
1 diff --git a/sic.c b/sic.c 2 index ecefaf2..f99f1a7 100644 3 --- a/sic.c 4 +++ b/sic.c 5 @@ -38,6 +38,8 @@ pout(char *channel, char *fmt, ...) { 6 t = time(NULL); 7 strftime(timestr, sizeof timestr, TIMESTAMP_FORMAT, localtime(&t)); 8 fprintf(stdout, "%-12s: %s %s\n", channel, timestr, bufout); 9 + if (strstr(channel, nick) || strstr(bufout, nick)) 10 + fprintf(stdout, "\a"); 11 } 12 13 static void