Florian 8 лет назад
Родитель
Сommit
8bc3a371e8

+ 0 - 1
BlackTools 2.5.3/BlackTools/Commands/BT.ChanCmds.tcl

@@ -825,7 +825,6 @@ if {$link == "1"} {
 	}
 }
 
-
 stick {
 if {[matchattr $hand nmo|M $chan]} {
 	set stickb [lindex [split $arg] 1]

+ 1 - 3
BlackTools 2.5.3/BlackTools/Commands/BT.ForCmds.tcl

@@ -733,10 +733,8 @@ if {$level != ""} {
 	userhost:act $b $nick "$hand:$level" $host $chan $chan1 $type $return_time "b" $reason $gl
 } else {
 if {$link == "1"} {
-	foreach c [link:chan:get $chan] {
-	userhost:act $b $nick "$hand" $host $c $chan1 $type $return_time "b" $reason "2"
-	}
 	userhost:act $b $nick "$hand" $host $chan $chan1 $type $return_time "b" $reason "2"
+	utimer 5 [list blacktools:link_ban [link:chan:get $chan] 0 $b $nick $hand $host $chan $chan1 $type $return_time "b" $reason 2]
 	return
 }
 	userhost:act $b $nick "$hand" $host $chan $chan1 $type $return_time "b" $reason $gl

+ 0 - 1
BlackTools 2.5.3/BlackTools/Commands/BT.LocalCmds.tcl

@@ -1865,7 +1865,6 @@ if {$return == "0"} {
 	}
 }
 if {![validchan $chan]} {
-	putserv "PRIVMSG blackshadow :a"
 	blacktools:tell $nick $host $hand $chan $chan1 gl.novalidchan none
 	return
 }

+ 1 - 3
BlackTools 2.5.3/BlackTools/Commands/BT.MeCmds.tcl

@@ -731,10 +731,8 @@ if {$level != ""} {
 	userhost:act $b $nick "$hand:$level" $host $chan $chan1 $type $return_time "b" $reason $gl
 } else {
 if {$link == "1"} {
-	foreach c [link:chan:get $chan] {
-	userhost:act $b $nick "$hand" $host $c $chan1 $type $return_time "b" $reason "2"
-	}
 	userhost:act $b $nick "$hand" $host $chan $chan1 $type $return_time "b" $reason "2"
+	utimer 5 [list blacktools:link_ban [link:chan:get $chan] 0 $b $nick $hand $host $chan $chan1 $type $return_time "b" $reason 2]
 	return
 }
 	userhost:act $b $nick "$hand" $host $chan $chan1 $type $return_time "b" $reason $gl

+ 2 - 3
BlackTools 2.5.3/BlackTools/Commands/BT.PrvCmds.tcl

@@ -720,9 +720,8 @@ if {$level != ""} {
 	userhost:act $b $nick "$hand:$level" "prv" $chan $chan1 $type $return_time "b" $reason $gl
 } else {
 if {$link == "1"} {
-	foreach c [link:get] {
-	userhost:act $b $nick "$hand" "prv" $c $chan1 $type $return_time "b" $reason "2"
-	}
+	userhost:act $b $nick "$hand" "prv" $chan $chan1 $type $return_time "b" $reason "2"
+	utimer 5 [list blacktools:link_ban [link:chan:get $chan] 0 $b $nick $hand "prv" $chan $chan1 $type $return_time "b" $reason 2]
 	return
 }
 	userhost:act $b $nick "$hand" "prv" $chan $chan1 $type $return_time "b" $reason $gl