From 1f3035508fe4dacf899742db444ade501091e7de Mon Sep 17 00:00:00 2001 From: djk Date: Tue, 13 Jun 2000 23:18:06 +0000 Subject: [PATCH] fixed RTT in who --- Changes | 1 + cmd/who.pl | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Changes b/Changes index 7d060d2e..a6e8d08a 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,6 @@ 14Jun00======================================================================= 1. fixed sh/node crash +2. fixed RTT in who.pl 13Jun00======================================================================= 1. fixed looping bug in C client on ending. 12Jun00======================================================================= diff --git a/cmd/who.pl b/cmd/who.pl index cbcfd7b2..c5d665d0 100644 --- a/cmd/who.pl +++ b/cmd/who.pl @@ -16,9 +16,9 @@ push @out, " Callsign Type Started Name Ave RTT"; foreach $dxchan ( sort {$a->call cmp $b->call} DXChannel::get_all ) { my $call = $dxchan->call(); my $t = cldatetime($dxchan->startt); - my $sort = $dxchan->is_node() ? "NODE" : "USER"; + my $sort = $dxchan->is_node ? "NODE" : "USER"; my $name = $dxchan->user->name || " "; - my $ping = $dxchan->is_ak1a && $dxchan != $DXProt::me ? sprintf("%8.2f", $dxchan->pingave) : ""; + my $ping = $dxchan->is_node && $dxchan != $DXProt::me ? sprintf("%8.2f", $dxchan->pingave) : ""; push @out, sprintf "%10s $sort $t %-18.18s $ping", $call, $name; } -- 2.43.0