Introduction
Introduction Statistics Contact Development Disclaimer Help
sic-alert-20160604-9bb34de.diff - sites - public wiki contents of suckless.org
git clone git://git.suckless.org/sites
Log
Files
Refs
---
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(&…
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
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.