X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=cmd%2Fshow%2Fstation.pl;h=868ebda9b81f34cd5aed73f20b39044cb1a19aaf;hb=d384410d4d5d1031cabab44350b80f2a55fe808d;hp=d9f2b9d10d631f8feb433b5aec0f67159546b567;hpb=33c95e70cc90be9f60c4efd73717386b299048f7;p=spider.git diff --git a/cmd/show/station.pl b/cmd/show/station.pl index d9f2b9d1..868ebda9 100644 --- a/cmd/show/station.pl +++ b/cmd/show/station.pl @@ -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)";