From: minima Date: Wed, 23 Feb 2005 17:10:29 +0000 (+0000) Subject: only add the time to an Aranea DX if it going to be different to the X-Git-Tag: R_1_52~152 X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=commitdiff_plain;h=f04fb2f06e622a03a70b0fd9ab916100e81e41fd;p=spider.git only add the time to an Aranea DX if it going to be different to the one on the sentence. --- diff --git a/perl/Thingy/Dx.pm b/perl/Thingy/Dx.pm index e2f9776f..527d9353 100644 --- a/perl/Thingy/Dx.pm +++ b/perl/Thingy/Dx.pm @@ -31,10 +31,9 @@ sub gen_Aranea $thing->{f} = $sd->[0]; $thing->{c} = $sd->[1]; $thing->{b} = $sd->[4] unless $thing->{user}; - unless ($sd->[7] eq $main::mycall) { - $thing->{t} = sprintf("%X", $sd->[2] / 60); - $thing->{o} = $sd->[7]; - } + my $t = $sd->[2] / 60; + $thing->{t} = sprintf("%X", $t) unless $t eq $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)]); }