X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FGeomag.pm;h=a247782199c7c3e12a05676596395c86d5aef6e1;hb=60d6599887f29ec966d075f413c2c73b9e913212;hp=b1985f0541509f8dd273d8be66243127e9e58a6b;hpb=be587fd8dade028c10545ffff4be13b0a18f3f91;p=spider.git diff --git a/perl/Geomag.pm b/perl/Geomag.pm index b1985f05..a2477821 100644 --- a/perl/Geomag.pm +++ b/perl/Geomag.pm @@ -98,7 +98,7 @@ sub update (@allowed == 0 && @denied == 0)) { # my $trydate = cltounix($mydate, sprintf("%02d18Z", $mytime)); - if ($mydate >= $date) { + if ($mydate > $date) { if ($myr) { $r = 0 + $myr; } else { @@ -268,12 +268,12 @@ sub readfile # enter the spot for dup checking and return true if it is already a dup sub dup { - my ($d, $sfi, $k, $a, $text) = @_; + my ($d, $sfi, $k, $a, $text, $call) = @_; # dump if too old return 2 if $d < $main::systime - $dupage; - my $dupkey = "W$d|$sfi|$k|$a"; + my $dupkey = "W$d|$sfi|$k|$a|$call"; return DXDupe::check($dupkey, $main::systime+$dupage); }