Explorar o código

Update BT.Limit.tcl

Daniel Voipan %!s(int64=6) %!d(string=hai) anos
pai
achega
5f28559d3c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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]