Skip to content

Commit

Permalink
Update BT.PrvCmds.tcl
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielVoipan committed Nov 27, 2022
1 parent 32b3215 commit 65a2044
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions BlackTools/Commands/BT.PrvCmds.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -1665,15 +1665,18 @@ if {$mychan_use == "1"} {

private {
if {[matchattr $hand nmo|M $chan]} {
set type 2
set type 1
set chan1 "$chan"
set why [lindex [split $arg] 2]
set user [lindex [split $arg] 3]
if {$mychan_use == "1"} {
set why [lindex [split $arg] 1]
set user [lindex [split $arg] 2]
}
private:process $nick $input $hand $chan $chan1 $why $user $type
set uhost [lindex [split $arg] 4]
if {[regexp {^[&#]} $why] && [matchattr $hand nmo|M $chan]} {
set chan "$why"
set why [lindex [split $arg] 3]
set user [lindex [split $arg] 4]
set uhost [lindex [split $arg] 5]
}
private:process $nick $host $hand $chan $chan1 $why $user $uhost $type
}
}

Expand Down

0 comments on commit 65a2044

Please sign in to comment.