X-Git-Url: http://scm.dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fdx.pl;h=c25e5df07c533a12cc283e30fd91edd2aff39c9e;hb=b7720ad5d9036cd35ba581c1fc196c953abadcd3;hp=3f366dffb20f82ef5bb508c370b55f836066ce9e;hpb=8e0eef80216fbb2bca3606daf5797e39b2889d7a;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); }