From f8e8ba13693b1a7685601f1847cb8e6493604ed9 Mon Sep 17 00:00:00 2001 From: minima Date: Thu, 27 Jul 2000 14:27:54 +0000 Subject: [PATCH] make the time stored on dups generated locally on spots an integer no of minutes * 60 --- Changes | 4 +++- cmd/dx.pl | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Changes b/Changes index 158f9b68..33ac9a00 100644 --- a/Changes +++ b/Changes @@ -2,7 +2,9 @@ 1. made sure that 'en' is the default language on new users. 2. issue error message if shutdown is attempted by a low privileged user. 3. Make sure a privilege is defined for all users (even if it is 0). -4. Try to fix some more dups (and the time on time). +4. Try to fix some more dups (and the time on them). +5. make the time stored on dups generated locally on spots an integer no of +minutes * 60 26Jul00======================================================================= 1. added wantgrid (to control display of grid square info on DX Broadcasts) 2. added lastoper for controlling periodic demands for user info from other diff --git a/cmd/dx.pl b/cmd/dx.pl index 3a45f6ce..2ea40672 100644 --- 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 -- 2.34.1