make the time stored on dups generated locally on spots an integer no of
[spider.git] / cmd / dx.pl
index 3a45f6ce86f35c35f0542700c5642b0bf76fb1d5..2ea40672ad044dbb8b3e7a468b0d4090f9516a5e 100644 (file)
--- a/cmd/dx.pl
+++ b/cmd/dx.pl
@@ -100,7 +100,7 @@ if (grep $_ eq $spotted, @DXProt::baddx) {
        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