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} {
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to