From be2837d3bcba98367f4221f36c1e6502b953d032 Mon Sep 17 00:00:00 2001 From: Teh PeGaSuS Date: Tue, 3 Mar 2026 19:15:04 +0100 Subject: [PATCH] We no longer remove bans when they're removed manually, unless they match an extban --- Chanban/cmgmt.tcl | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/Chanban/cmgmt.tcl b/Chanban/cmgmt.tcl index fb946a7..9c58d5a 100644 --- a/Chanban/cmgmt.tcl +++ b/Chanban/cmgmt.tcl @@ -23,7 +23,7 @@ namespace eval cmgmt { # Command to upload the file # The ban list file is piped into the command via stdin (with `cat $filename |`) # so your command must read from stdin - variable upCommand "curl -s -F file=@- https://x0.at/" + variable upCommand "curl -s -F file=@- https://hotpaste.0bin.xyz/" # Set the banmask type to use in banning the user # Available types are: @@ -101,7 +101,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 { [catch { package require msgcat }] } { - putloglev o * "\[Channel Management\] This script needs msgcat package to work. The script cannot be loaded" + putloglev o * "\[Channel Management\] This script needs msgcat package to work. The script cannot be loaded." return } ::msgcat::mclocale $::cmgmt::locale @@ -945,13 +945,8 @@ namespace eval cmgmt { if {[matchstr "~*" $target] && [isban $target $chan]} { killchanban $chan $target return 0 - } elseif {[isban $target $chan]} { - killchanban $chan $target - putserv "NOTICE @$chan :[format [::msgcat::mc auto.removed] $target $chan]" - return 0 } } - return 0 }