fix typo
[spider.git] / cmd / show / station.pl
index d9f2b9d10d631f8feb433b5aec0f67159546b567..868ebda9b81f34cd5aed73f20b39044cb1a19aaf 100644 (file)
@@ -70,7 +70,7 @@ if (@f <= 2 && uc $f[0] eq 'ALL') {
                        }
                        
                        my $cref = Route::get($call);
-                       my $seek = join(',', $cref->parents) if $cref;
+                       my $seek = $cref->isa('Route::Node') ? $call : join(',', $cref->parents) if $cref;
 
                        if ($seek) {
                                push @out, "User         : $call (at $seek)";