From: Colin Watson Date: Sat, 9 May 2009 07:23:56 +0000 (+0000) Subject: support .noircnotify/--force X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~cjwatson/git?a=commitdiff_plain;h=9b7b22d2e16376edc6049a81cd8ad00243f1dbd9;p=bin.git support .noircnotify/--force --- diff --git a/ircnotify b/ircnotify index c1684b4..54b8bde 100755 --- 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