Explorar o código

Update BT.OwnerCmds.tcl

Daniel Voipan %!s(int64=5) %!d(string=hai) anos
pai
achega
9eba1edf6e
Modificáronse 1 ficheiros con 4 adicións e 4 borrados
  1. 4 4
      BlackTools/Commands/BT.OwnerCmds.tcl

+ 4 - 4
BlackTools/Commands/BT.OwnerCmds.tcl

@@ -31,18 +31,18 @@ if {$cmd_status == "1"} {
 switch $what {
 	on {
 	set out [blacktools:update_on_off 0]
-if {$out == 1} {
+if {$out == 0} {
 	blacktools:tell $nick $host $hand $chan $chan1 autoupdate.35 ""
-} elseif {$out == 3} {
+} elseif {$out == 2} {
 	blacktools:tell $nick $host $hand $chan $chan1 autoupdate.36 ""
 	rehash
 }
 	}
 	off {
 	set out [blacktools:update_on_off 1]
-if {$out == 0} {
+if {$out == 1} {
 	blacktools:tell $nick $host $hand $chan $chan1 autoupdate.37 ""
-} elseif {$out == 2} {
+} elseif {$out == 3} {
 	blacktools:tell $nick $host $hand $chan $chan1 autoupdate.38 ""
 	rehash
 }