X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FRBN.pm;h=ec9f39467942ef2014557938a393f44482068164;hb=654e240acb579ce6d726076a8a2c5ea4b9658f6e;hp=8e981fc2f908690db5f6cb539c0fa06fe07b3c7f;hpb=47fcf88853f83b34078198fdeb063791a6a7f0f2;p=spider.git diff --git a/perl/RBN.pm b/perl/RBN.pm index 8e981fc2..ec9f3946 100644 --- a/perl/RBN.pm +++ b/perl/RBN.pm @@ -252,11 +252,12 @@ sub normal } # remove all extraneous crap from the origin - just leave the base callsign - $origin = basecall($origin); - unless ($origin) { + my $norigin = basecall($origin); + unless ($norigin) { dbg("RBN: ERROR '$origin' is an invalid callsign, dumped"); return; } + $origin = $norigin; # is this callsign in badspotter list? if ($DXProt::badspotter->in($origin) || $DXProt::badnode->in($origin)) { @@ -539,8 +540,9 @@ sub dx_spot unless ($user->qra && is_qra($user->qra)) { $user->qra($qra); dbg("RBN: update qra on $saver->[SCall] to $qra"); - $user->put; } + # update lastseen if nothing else + $user->put; } } }