projects
/
spider.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
6524222
)
only add the time to an Aranea DX if it going to be different to the
author
minima
<minima>
Wed, 23 Feb 2005 17:10:29 +0000
(17:10 +0000)
committer
minima
<minima>
Wed, 23 Feb 2005 17:10:29 +0000
(17:10 +0000)
one on the sentence.
perl/Thingy/Dx.pm
patch
|
blob
|
history
diff --git
a/perl/Thingy/Dx.pm
b/perl/Thingy/Dx.pm
index e2f9776f2dcf0a3a4a54d70434e8975db10fd149..527d93539684cc59c9b14e38ab4fce93da2b7a8e 100644
(file)
--- 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};
$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)]);
}
$thing->{i} = $sd->[3] if $sd->[3];
$thing->{Aranea} = Aranea::genmsg($thing, [qw(f c b t o i)]);
}