X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FThingy%2FDx.pm;h=aa7322ed12c1a6a4e9e2bc03b6bd2176372f833b;hb=c3ba5929db3bd5343ae4ac17c4420155745be511;hp=3621d2545c926d1aa53679ecbf104243d472cb35;hpb=2f64c84b9131ca0b863b53c89a0a637b1fb537fc;p=spider.git diff --git a/perl/Thingy/Dx.pm b/perl/Thingy/Dx.pm index 3621d254..aa7322ed 100644 --- a/perl/Thingy/Dx.pm +++ b/perl/Thingy/Dx.pm @@ -46,14 +46,16 @@ sub from_Aranea return unless $thing; my $t = hex($thing->{t}) if exists $thing->{t}; $t ||= int($thing->{time} / 60); # if it is an aranea generated + my $by = $thing->{b} || $thing->{fromuser} || $thing->{user} || $thing->{origin}; my @spot = Spot::prepare( $thing->{f}, $thing->{c}, $t*60, ($thing->{i} || ''), - ($thing->{b} || $thing->{fromuser} || $thing->{user} || $thing->{origin}), + $by, ($thing->{o} || $thing->{origin}), ); + $spot[4] = $by; # don't modify the spotter SSID $thing->{spotdata} = \@spot; return $thing; }