X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FThingy%2FDx.pm;h=1311e8f15fa6e99fd776d276703781f5f1a5818f;hb=319cdc6c2167b84d93ee1d9c6d219405f4272b82;hp=527d93539684cc59c9b14e38ab4fce93da2b7a8e;hpb=f04fb2f06e622a03a70b0fd9ab916100e81e41fd;p=spider.git diff --git a/perl/Thingy/Dx.pm b/perl/Thingy/Dx.pm index 527d9353..1311e8f1 100644 --- a/perl/Thingy/Dx.pm +++ b/perl/Thingy/Dx.pm @@ -31,8 +31,8 @@ sub gen_Aranea $thing->{f} = $sd->[0]; $thing->{c} = $sd->[1]; $thing->{b} = $sd->[4] unless $thing->{user}; - my $t = $sd->[2] / 60; - $thing->{t} = sprintf("%X", $t) unless $t eq $main::systime / 60; + my $t = $sd->[2]; + $thing->{t} = sprintf("%X", $t) unless $t eq int($main::systime / 60); $thing->{o} = $sd->[7] unless $sd->[7] eq $main::mycall; $thing->{i} = $sd->[3] if $sd->[3]; $thing->{Aranea} = Aranea::genmsg($thing, [qw(f c b t o i)]); @@ -45,7 +45,7 @@ sub from_Aranea my $thing = shift; return unless $thing; my $t = hex($thing->{t}) if exists $thing->{t}; - $t ||= $thing->{time} / 60; # if it is an aranea generated + $t ||= int($thing->{time} / 60); # if it is an aranea generated my @spot = Spot::prepare( $thing->{f}, $thing->{c},