summaryrefslogtreecommitdiffstats
path: root/git/gitolite-hooks
diff options
context:
space:
mode:
authortv <tv@nomic.retiolum>2014-03-14 04:04:28 +0100
committertv <tv@nomic.retiolum>2014-03-14 04:04:28 +0100
commitd79aeb890dfbf97c2dd85f48c3fb04d2f07bf066 (patch)
tree408bcbd025ba854a4f31ba21597150183d1797a5 /git/gitolite-hooks
parent64b8e353537d2f21eea4531bcae460a1bf14a52b (diff)
irc-announce: PART before QUIT
Diffstat (limited to 'git/gitolite-hooks')
-rwxr-xr-xgit/gitolite-hooks/irc-announce3
1 files changed, 3 insertions, 0 deletions
diff --git a/git/gitolite-hooks/irc-announce b/git/gitolite-hooks/irc-announce
index 1b356bee..394d5261 100755
--- a/git/gitolite-hooks/irc-announce
+++ b/git/gitolite-hooks/irc-announce
@@ -84,6 +84,9 @@ privmsg_cat() { awk '{ print "PRIVMSG "ENVIRON["IRC_CHANNEL"]" :"$0 }'; }
| privmsg_cat \
| cat2
+ echo2 "PART $IRC_CHANNEL"
+
+ # TESTME does this sleep help to send all messages?
sleep 5
echo2 'QUIT :Gone to have lunch'