From 404e439bca6ed6af81797e2fd5b2b6f1d7926d3a Mon Sep 17 00:00:00 2001 From: Teh PeGaSuS Date: Tue, 3 Mar 2026 21:25:30 +0100 Subject: [PATCH] Typo fix --- Chanban/cmgmt.tcl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Chanban/cmgmt.tcl b/Chanban/cmgmt.tcl index 61459ba..d397333 100644 --- a/Chanban/cmgmt.tcl +++ b/Chanban/cmgmt.tcl @@ -163,7 +163,7 @@ namespace eval cmgmt { foreach user [userlist] { if {[matchattr $user mno|mno $chan]} { foreach host [getuser $user HOSTS] { - if {[matchstr $target $host] || [matchstr $host $target]} { + if {[matchstr $banmask $host] || [matchstr $host $banmask]} { putserv "PRIVMSG $chan :[::msgcat::mc prot.user.addban]" return 0 } @@ -555,7 +555,7 @@ namespace eval cmgmt { foreach user [userlist] { if {[matchattr $user mno|mno $chan]} { foreach host [getuser $user HOSTS] { - if {[matchstr $target $host] || [matchstr $host $target]} { + if {[matchstr $banmask $host] || [matchstr $host $banmask]} { putserv "PRIVMSG $chan :[::msgcat::mc prot.user.addban]" return 0 }