From: minima Date: Sat, 21 Jan 2006 17:46:08 +0000 (+0000) Subject: remove 'u=' if 'o=' eq mycall X-Git-Tag: 1.53~68 X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=commitdiff_plain;h=37f82ebe660cdbce6054bb0a0e50b774fc46a893;p=spider.git remove 'u=' if 'o=' eq mycall --- diff --git a/perl/DXXml/Ping.pm b/perl/DXXml/Ping.pm index 06d96ff6..d70d6e9a 100644 --- a/perl/DXXml/Ping.pm +++ b/perl/DXXml/Ping.pm @@ -63,7 +63,7 @@ sub add my $ref = $pings{$to} || []; my $r = {}; my $self = DXXml::Ping->new(to=>$to, '-hirestime'=>[ gettimeofday ], s=>'1'); - $self->{u} = $from; + $self->{u} = $from unless $from eq $main::mycall; $self->{'-via'} = $via if $via && DXChannel::get($via); $self->{o} = $main::mycall; $self->route($dxchan);