Explorar el Código

Update BT.BadChan.tcl

Daniel Voipan hace 6 años
padre
commit
0d2f73612a
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      BlackTools/Modules/BT.BadChan.tcl

+ 1 - 1
BlackTools/Modules/BT.BadChan.tcl

@@ -123,7 +123,7 @@ if {[matchattr $hand -|q $chan]} { blacktools:tell $nick $host $hand $chan $chan
 	set getlang [string tolower [setting:get $chan lang]]
 if {$getlang == ""} { set getlang "[string tolower $black(default_lang)]" }
 
-switch $why {
+switch [string tolower $why] {
 	on {
 	setting:set $chan +antibadchan ""
 	blacktools:tell $nick $host $hand $chan $chan1 badchan.6 none