X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Funset%2Fhere.pl;h=7e2991528551ef96c05a1fa2ca0373349481ff63;hb=1f9712e804601df2e26f70ef88410c94546f44af;hp=48dbae2c4a7bd2aadc2cea5d62a6d5a0ab6bd485;hpb=b060a0a3ee72530aa3f10d453186a662b66d7efe;p=spider.git diff --git a/cmd/unset/here.pl b/cmd/unset/here.pl index 48dbae2c..7e299152 100644 --- a/cmd/unset/here.pl +++ b/cmd/unset/here.pl @@ -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);