X-Git-Url: http://www.dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FThingy%2FPing.pm;h=902347dc30ec3a8f176bf9c30189d56407acc7b0;hb=d0b280ab098497a7013807e869e4c641cbfcfc94;hp=a1ab4599fa4cebe310fb60774c5369a6851c61e7;hpb=8793642e3c927cbd8ef80e7fc1f35f3a62b8f0d8;p=spider.git diff --git a/perl/Thingy/Ping.pm b/perl/Thingy/Ping.pm index a1ab4599..902347dc 100644 --- a/perl/Thingy/Ping.pm +++ b/perl/Thingy/Ping.pm @@ -59,7 +59,7 @@ sub gen_DXProt $from ||= $thing->{user} if Route::Node::get($thing->{user}); $from ||= $thing->{origin}; my $to = $thing->{o} unless $thing->{out}; - $to ||= $thing->{touser} if Route::Node::get($thing->{touser}); + $to ||= $thing->{touser} unless Route::User::get($thing->{touser}); $to ||= $thing->{group};