]> dxcluster.net Git - spider.git/commitdiff
fix error on anonymous pc17
authorminima <minima>
Sat, 12 Mar 2005 11:37:55 +0000 (11:37 +0000)
committerminima <minima>
Sat, 12 Mar 2005 11:37:55 +0000 (11:37 +0000)
perl/DXProt.pm

index dd53237554b9617ee310b0769af0c755cedf8edb..8e8dfea73c49b817d56328031cbbdfbc5938efa7 100644 (file)
@@ -854,7 +854,7 @@ sub handle_17
        }
 
        $uref = Route->new($ucall) unless $uref; # throw away
-       $self->route_pc17($origin, $line, $parent, $uref) if (DXChannel::get($parent->call) || $parent->np);
+       $self->route_pc17($origin, $line, $parent, $uref) if (DXChannel::get($parent->call) || ($parent->isa('Route::Node') && $parent->np));
 }
                
 # link request