Quellcode durchsuchen

Update BT.Core.tcl

Daniel Voipan vor 5 Jahren
Ursprung
Commit
8e295a8f65
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      BlackTools/BT.Core.tcl

+ 1 - 1
BlackTools/BT.Core.tcl

@@ -392,7 +392,7 @@ proc notc:flood:protection {nick host hand text dest} {
 	global black botnick
 	set number [scan $black(notice:flood) %\[^:\]]
 	set timer [scan $black(notice:flood) %*\[^:\]:%s]
-if {$nick == $black(chanserv)} {
+if {$nick == $black(chanserv) || [string equal -nocase $nick "CHANSERV"]} {
 	return
 }
 if {![isbotnick $dest]} {