add the ability to limit no of connections
[spider.git] / perl / DXProtHandle.pm
index c5f6cc81b2a7edcf0043b94e37ac2665d5dbceae..8d766732777e31a90dc5c74f735ea3ca5136ae75 100644 (file)
@@ -1860,7 +1860,7 @@ sub find_pc9x_routes
        if ($ref->isa('Route::User')) {
                my $dxchan = DXChannel::get($to);
                push @parent, $to if $dxchan;
-               push @parent, @{$ref->parent};
+               push @parent, $ref->parents;
        } else {
                @parent = $to;
        }