X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fdx.pl;fp=cmd%2Fdx.pl;h=c25e5df07c533a12cc283e30fd91edd2aff39c9e;hb=0e49d2c191786b825674e0cca106eef004c99899;hp=3f366dffb20f82ef5bb508c370b55f836066ce9e;hpb=45d5046fe206fcff846fe203de0eac22ebf9d172;p=spider.git diff --git a/cmd/dx.pl b/cmd/dx.pl index 3f366dff..c25e5df0 100644 --- a/cmd/dx.pl +++ b/cmd/dx.pl @@ -104,8 +104,11 @@ if (grep $_ eq $spotted, @DXProt::baddx) { push @out, $buf; } else { return (1, $self->msg('dup')) if Spot::dup($freq, $spotted, (int ($main::systime/60)) * 60, $line); - my @spot = Spot::add($freq, $spotted, $main::systime, $line, $spotter, $main::mycall); + my @spot = Spot::prepare($freq, $spotted, $main::systime, $line, $spotter, $main::mycall); if (@spot) { + # store it + Spot::add(@out); + # send orf to the users DXProt::send_dx_spot($self, DXProt::pc11($spotter, $freq, $spotted, $line), @spot); }