瀏覽代碼

github watch: don't output to channel when error

Will Storey 15 年之前
父節點
當前提交
5eccc40cf6
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      github_watch.tcl

+ 1 - 1
github_watch.tcl

@@ -100,7 +100,7 @@ proc github_watch::get_commits {} {
 
 proc github_watch::update {min hour day month year} {
 	if {[catch {github_watch::get_commits} result]} {
-		putserv "PRIVMSG $github_watch::channel :github watch: Error: $result"
+		putlog "PRIVMSG $github_watch::channel :github watch: Error: $result"
 		return
 	}