Daniel Voipan 6 лет назад
Родитель
Сommit
5f28559d3c
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      BlackTools/Modules/BT.Limit.tcl

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

@@ -52,7 +52,7 @@ if {![onchan $botnick $chan]} {
 }
 	set usersnum [llength [chanlist $chan]]
 	
-    switch $why {
+    switch [string tolower $why] {
 
 on {
 	set limt [setting:get $chan limit-default]