made ssids unique everywhere
[spider.git] / cmd / talk.pl
index ced47037b901b6951ec62f22fd323cb7a9254784..827ff672d3a26210af2e95aabe8ddabc0f53a6ff 100644 (file)
@@ -24,7 +24,9 @@ if ($argv[1] eq '>') {
 }
 
 my $call = $via ? $via : $to;
-my $ref = DXCluster->get($call);
+my $ref = DXCluster->get_exact($call);     # try an exact call
+$ref = DXCluster->get($call) unless $ref;  # try one ignoring SSID
+$ref = DXChannel->get($call) unless $ref;  # is it local?
 
 # if we haven't got an explicit via and we can't see them, try their node
 unless ($ref || $via) {