浏览代码

Update BT.BanCmds.tcl

Florian 8 年之前
父节点
当前提交
629a791757
共有 1 个文件被更改,包括 5 次插入5 次删除
  1. 5 5
      BlackTools2.5.1/BlackTools/Commands/BT.BanCmds.tcl

+ 5 - 5
BlackTools2.5.1/BlackTools/Commands/BT.BanCmds.tcl

@@ -342,7 +342,7 @@ if {$getlang == ""} { set getlang "[string tolower $black(default_lang)]" }
 foreach b [blacktools:banlist $chan] {
 	set mask [lindex [split $b] 3]
 	set id [lindex [split $b] 1]
-	set real_mask [string map [list \[ {\[} \] {\]} \? {\?} \\ {\\}] $mask]
+	set real_mask [string map [list \[ {\[} \] {\]} \\ {\\}] $mask]
 if {[string match -nocase $real_mask $bhost] || [string match -nocase $bhost $real_mask] || $bhost == $id} {
 	set local_bans [expr $local_bans + 1]
 	}
@@ -351,7 +351,7 @@ if {$gl == "1"} {
 	foreach b [blacktools:banlist:gl] {
 	set mask [lindex [split $b] 3]
 	set id [lindex [split $b] 1]
-	set real_mask [string map [list \[ {\[} \] {\]} \? {\?} \\ {\\}] $mask]
+	set real_mask [string map [list \[ {\[} \] {\]} \\ {\\}] $mask]
 if {[string match -nocase $real_mask $bhost] || [string match -nocase $bhost $real_mask] || $bhost == $id} {
 	set gl_bans [expr $gl_bans + 1]
 		}
@@ -362,7 +362,7 @@ if {$gl_bans > "0"} {
 foreach b [blacktools:banlist:gl] {
 	set mask [lindex [split $b] 3]
 	set id [lindex [split $b] 1]
-	set real_mask [string map [list \[ {\[} \] {\]} \? {\?} \\ {\\}] $mask]
+	set real_mask [string map [list \[ {\[} \] {\]} \\ {\\}] $mask]
 if {[string match -nocase $real_mask $bhost] || [string match -nocase $bhost $real_mask] || $bhost == $id} {
 	set mask [lindex [split $b] 3]
 	set id [lindex [split $b] 1]
@@ -386,7 +386,7 @@ if {$local_bans > "0"} {
 foreach b [blacktools:banlist $chan] {
 	set mask [lindex [split $b] 3]
 	set id [lindex [split $b] 1]
-	set real_mask [string map [list \[ {\[} \] {\]} \? {\?} \\ {\\}] $mask]
+	set real_mask [string map [list \[ {\[} \] {\]} \\ {\\}] $mask]
 if {[string match -nocase $real_mask $bhost] || [string match -nocase $bhost $real_mask] || $bhost == $id} {
 	set mask [lindex [split $b] 3]
 	set id [lindex [split $b] 1]
@@ -1222,4 +1222,4 @@ if {$cmd == "total"} {
 ##############
 #########################################################################
 ##   END                                                               ##
-#########################################################################
+#########################################################################