From 1ead732b2d2cfc4d04d88c83c1c8f00805badebc Mon Sep 17 00:00:00 2001 From: djk Date: Sat, 20 Nov 1999 16:05:03 +0000 Subject: [PATCH] remove uninit message from who --- cmd/who.pl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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; } -- 2.43.0