chiark / gitweb /
support .noircnotify/--force
authorColin Watson <cjwatson@chiark.greenend.org.uk>
Sat, 9 May 2009 07:23:56 +0000 (07:23 +0000)
committerColin Watson <cjwatson@chiark.greenend.org.uk>
Sat, 9 May 2009 07:23:56 +0000 (07:23 +0000)
ircnotify

index c1684b468614b78687431457ba1acdb660b93b1a..54b8bde539f1b9f874eb072ab773a3a1ada48f97 100755 (executable)
--- a/ircnotify
+++ b/ircnotify
@@ -1,3 +1,6 @@
 #! /bin/sh
+if [ -f ~/.noircnotify ] && [ "$1" != --force ]; then
+       exit 0
+fi
 export IRCSERVER=excalibur.esper.net
 xargs -n 1 ircwhois < ~/.ircnotify