Update Chanban/chanban.tcl

This commit is contained in:
Teh PeGaSuS
2026-03-01 17:36:42 +01:00
parent cdbf2f7d44
commit 60ec5476c5
+2 -2
View File
@@ -98,7 +98,7 @@ namespace eval cmgmt {
#
# If you touch the code below and then complain the script "suddenly stopped working" I'll touch you at night.
# ----------
variable scriptName "Channel Management v1.1 by PeGaSuS"
variable scriptName "Channel Management v01.03.2026 by PeGaSuS"
# ----------
# Auto add bans
@@ -113,7 +113,7 @@ namespace eval cmgmt {
if {$nick ne $::botnick && $nick ni $::cmgmt::noAddNicks && $hostmask ni $::cmgmt::noAddMasks} {
if {[matchstr "~*" $target] && ![isban $target $chan]} {
newchanban $chan $target $nick $banReason 0 sticky
newchanban $chan $target $nick EXTBAN 0 sticky
return 0
} else {
newchanban $chan $target $nick $banReason 0