Update Chanban/chanban.tcl

Get rid of debug code
This commit is contained in:
Teh PeGaSuS
2026-03-01 22:35:30 +01:00
parent b42c5166eb
commit 78ee9c8f5d
-3
View File
@@ -106,7 +106,6 @@ namespace eval cmgmt {
# Auto add bans
# ----------
proc abans {nick uhost hand chan mode target} {
putlog "DEBUG autobans: nick=$nick chan=$chan mode=$mode target=$target"
set hostmask [maskhost ${nick}![getchanhost $nick $chan] $::cmgmt::noAddType]
set banReason "$::cmgmt::banReason \(auto-added\)"
@@ -129,7 +128,6 @@ namespace eval cmgmt {
}
proc rbans {nick uhost hand chan mode target} {
putlog "DEBUG autobans: nick=$nick chan=$chan mode=$mode target=$target"
if {![channel get $chan addBans]} {
return 0
}
@@ -153,7 +151,6 @@ namespace eval cmgmt {
# and make them sticky so the bot doesn't remove them
bind cron * "*/5 * * * *" ::cmgmt::addextbans
proc addextbans {minute hour day month weekday} {
putlog "Adding existing extbans to banlist"
foreach chan [channels] {
foreach cban [chanbans $chan] {
set mask [lindex [split $cban] 0]