Procházet zdrojové kódy

Update BT.BadChan.tcl

Daniel Voipan před 6 roky
rodič
revize
0d2f73612a
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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