Daniel Voipan 6 жил өмнө
parent
commit
5f28559d3c

+ 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]