]> dxcluster.net Git - spider.git/commitdiff
remove 'u=' if 'o=' eq mycall
authorminima <minima>
Sat, 21 Jan 2006 17:46:08 +0000 (17:46 +0000)
committerminima <minima>
Sat, 21 Jan 2006 17:46:08 +0000 (17:46 +0000)
perl/DXXml/Ping.pm

index 06d96ff617cff373e0487dad01f8021dbbaa2ecf..d70d6e9a46104cb379b95653af96862f4b0388b0 100644 (file)
@@ -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);