X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FRoute%2FNode.pm;h=49e241dddf5b6b7ef265861a5d2498da1c0af903;hb=412fb1b9e4070d7791f4e986b55bbc0c06f612ea;hp=08b74c737295b15006a959e431a0eaa34b19fd42;hpb=60d889442d24ab5567fe0b6c9bb923f4297a07bd;p=spider.git diff --git a/perl/Route/Node.pm b/perl/Route/Node.pm index 08b74c73..49e241dd 100644 --- a/perl/Route/Node.pm +++ b/perl/Route/Node.pm @@ -90,12 +90,12 @@ sub del # delete parent from this call's parent list $pref->_delnode($self); - my @ref = $self->_delparent($pref); + $self->_delparent($pref); my @nodes; my $ncall = $self->{call}; # is this the last connection, I have no parents anymore? - unless (@ref) { + unless (@{$self->{parent}}) { foreach my $rcall (@{$self->{nodes}}) { next if grep $rcall eq $_, @_; my $r = Route::Node::get($rcall);