X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fdx.pl;h=2ea40672ad044dbb8b3e7a468b0d4090f9516a5e;hb=8e45a3dac2e136dc0c9d6f1e78f8c048a8d7ba21;hp=5e9eec1ccf6e78a12a358b46eb11b7c51ff200f7;hpb=88665a2bed3b9ec9e97237938a95a045b2a21bb4;p=spider.git diff --git a/cmd/dx.pl b/cmd/dx.pl index 5e9eec1c..2ea40672 100644 --- a/cmd/dx.pl +++ b/cmd/dx.pl @@ -97,10 +97,10 @@ $line =~ s/\^/:/og; # Store it here (but only if it isn't baddx) if (grep $_ eq $spotted, @DXProt::baddx) { - my $buf = Spot::formatb($freq, $spotted, $main::systime, $line, $spotter); + my $buf = Spot::formatb($self->user->wantgrid, $freq, $spotted, $main::systime, $line, $spotter); push @out, $buf; } else { - return (1, $self->msg('dup')) if Spot::dup($freq, $spotted, $main::systime, $line); + 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); if (@spot) { # send orf to the users