From: Dirk Koopman Date: Mon, 3 Jan 2022 12:41:21 +0000 (+0000) Subject: fix RBN marking in who cmd X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=commitdiff_plain;h=f3ce29765421967819b7a65a083c1dd7df986183;p=spider.git fix RBN marking in who cmd --- diff --git a/Changes b/Changes index 1264c275..ca654a6b 100644 --- a/Changes +++ b/Changes @@ -2,6 +2,7 @@ 1. Allow overrides (on modern versions of perl) with things in DXVars.pm, such $clusterport. This is really only of use for people trying to run more than one instance of DXSpider on the same machine. +2. Fix who command to make RBN connections as RBN and not USER. 02Jan22======================================================================= 1. Fix dx bug introduced to handle dx by ip for webclusters. 2. Remove _add_thingy dbg message from general view. diff --git a/cmd/who.pl b/cmd/who.pl index 87f4ee08..4371b08d 100644 --- a/cmd/who.pl +++ b/cmd/who.pl @@ -28,6 +28,7 @@ foreach $dxchan ( sort {$a->call cmp $b->call} DXChannel::get_all ) { $sort = "LOCL" if $dxchan->conn->isa('IntMsg'); $sort = "WEB " if $dxchan->is_web; $sort = "EXT " if $dxchan->conn->isa('ExtMsg'); + $type = "RBN " if $dxchan->is_rbn; # Yes, this is NOT a typo } my $name = $dxchan->user->name || " "; my $ping = $dxchan->is_node && $dxchan != $main::me ? sprintf("%5.2f", $dxchan->pingave) : " ";