From: djk Date: Sat, 20 Nov 1999 16:05:03 +0000 (+0000) Subject: remove uninit message from who X-Git-Tag: R_1_35~11 X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=1ead732b2d2cfc4d04d88c83c1c8f00805badebc;p=spider.git remove uninit message from who --- diff --git a/cmd/who.pl b/cmd/who.pl index e6d39346..9aae345d 100644 --- a/cmd/who.pl +++ b/cmd/who.pl @@ -18,8 +18,7 @@ foreach $dxchan ( sort {$a->call cmp $b->call} DXChannel::get_all ) { my $t = cldatetime($dxchan->user->lastin); my $sort = $dxchan->is_ak1a() ? "NODE" : "USER"; my $name = $dxchan->user->name || " "; - my $ping = $dxchan->is_ak1a ? sprintf("%8.2f", $dxchan->pingave) : ""; - $ping = "" if $dxchan->call eq $main::mycall; + my $ping = $dxchan->is_ak1a && $dxchan != $DXProt::me ? sprintf("%8.2f", $dxchan->pingave) : ""; push @out, sprintf "%10s $sort $t %-18.18s $ping", $call, $name; }