From: djk Date: Tue, 13 Jun 2000 23:18:06 +0000 (+0000) Subject: fixed RTT in who X-Git-Tag: R_1_42~13 X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=1f3035508fe4dacf899742db444ade501091e7de;p=spider.git fixed RTT in who --- 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; }