irc.gitbot: fix load error

db4
Slava Pestov 2010-09-05 17:55:22 -07:00
parent feffc260d6
commit ee2169eb6c
1 changed files with 4 additions and 2 deletions

View File

@ -2,7 +2,7 @@
! See http://factorcode.org/license.txt for BSD license.
USING: fry irc.client irc.client.chats kernel namespaces
sequences threads io.launcher io splitting
make mason.common mason.updates calendar math timers
make mason.common mason.git calendar math timers
io.encodings.8-bit.latin1 debugger ;
IN: irc.gitbot
@ -47,7 +47,9 @@ M: object handle-message drop ;
: check-for-updates ( chat -- )
'[
git-id git-pull-cmd short-running-process git-id
git-id
{ "git" "pull" "origin" "master" } short-running-process
git-id
_ report-updates
] try ;