SVN: toys/stbr/stbr.tcl
shadzik
shadzik at pld-linux.org
Sat Nov 7 22:18:34 CET 2009
Author: shadzik
Date: Sat Nov 7 22:18:34 2009
New Revision: 10961
Modified:
toys/stbr/stbr.tcl
Log:
- change condition
Modified: toys/stbr/stbr.tcl
==============================================================================
--- toys/stbr/stbr.tcl (original)
+++ toys/stbr/stbr.tcl Sat Nov 7 22:18:34 2009
@@ -173,7 +173,7 @@
putserv "privmsg $chan :$nick: I'm now in maintenance mode (reason: $reason). Only owners may perform real actions."
return 0
}
-if {[llength [lrange $arg 0 end]] < 2} {putserv "privmsg $chan :$nick: Usage: !stat spec \[BRANCH\]";return 0}
+if {[llength [lrange $arg 0 end]] < 1} {putserv "privmsg $chan :$nick: Usage: !stat spec \[BRANCH\]";return 0}
set spec [lindex $arg 0]
set branch [lindex $arg 1]
if {[string length $branch]==0} {
More information about the pld-cvs-commit
mailing list