Update Chanban/chanban.tcl
This commit is contained in:
+2
-2
@@ -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.
|
# 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
|
# Auto add bans
|
||||||
@@ -113,7 +113,7 @@ namespace eval cmgmt {
|
|||||||
|
|
||||||
if {$nick ne $::botnick && $nick ni $::cmgmt::noAddNicks && $hostmask ni $::cmgmt::noAddMasks} {
|
if {$nick ne $::botnick && $nick ni $::cmgmt::noAddNicks && $hostmask ni $::cmgmt::noAddMasks} {
|
||||||
if {[matchstr "~*" $target] && ![isban $target $chan]} {
|
if {[matchstr "~*" $target] && ![isban $target $chan]} {
|
||||||
newchanban $chan $target $nick $banReason 0 sticky
|
newchanban $chan $target $nick EXTBAN 0 sticky
|
||||||
return 0
|
return 0
|
||||||
} else {
|
} else {
|
||||||
newchanban $chan $target $nick $banReason 0
|
newchanban $chan $target $nick $banReason 0
|
||||||
|
|||||||
Reference in New Issue
Block a user