X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Funset%2Fhere.pl;h=7e2991528551ef96c05a1fa2ca0373349481ff63;hb=a9b7071fedfdb2150f3ef3d74e0d626b4f2dc0ea;hp=48dbae2c4a7bd2aadc2cea5d62a6d5a0ab6bd485;hpb=4d3067793942b3f4518615906dde50db5b76464a;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);