fixed sh/c/n
[spider.git] / cmd / unset / here.pl
index 48dbae2c4a7bd2aadc2cea5d62a6d5a0ab6bd485..7e2991528551ef96c05a1fa2ca0373349481ff63 100644 (file)
@@ -15,8 +15,10 @@ my @out;
 
 foreach $call (@args) {
   $call = uc $call;
+  my $dxchan = DXChannel->get($call);
   my $ref = DXCluster->get($call);
-  if ($ref) {
+  if ($dxchan && $ref) {
+       $dxchan->here(0);
     $ref->here(0);
        DXProt::broadcast_ak1a(DXProt::pc24($ref));
        push @out, $self->msg('hereu', $call);