fixed confusion over DXCluster->get_exact and DXUser->get
[spider.git] / cmd / show / station.pl
index 40c7eddbe3d6f59c7805ad9cba07b9a5f7f266eb..4aadd22292e7c1f2536001108263d9bf390f07b2 100644 (file)
@@ -59,7 +59,8 @@ if (@f == 0) {
                                $miles = $dx * 0.62133785;
                        }
                        
-                       my $cref = DXCluster->get($call);
+                       my $cref = DXCluster->get_exact($call);
+                       $cref = DXCluster->get($call) unless $cref;
                        my $seek = $cref->mynode->call if $cref;
 
                        if ($seek) {