X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Funset%2Fhere.pl;h=48dbae2c4a7bd2aadc2cea5d62a6d5a0ab6bd485;hb=b060a0a3ee72530aa3f10d453186a662b66d7efe;hp=76adeeac6414b522a0fcdd26c127c5d58cdcfaa0;hpb=07ea293f3919d2da76220b5fbc55b734008ed44c;p=spider.git diff --git a/cmd/unset/here.pl b/cmd/unset/here.pl index 76adeeac..48dbae2c 100644 --- a/cmd/unset/here.pl +++ b/cmd/unset/here.pl @@ -15,12 +15,13 @@ my @out; foreach $call (@args) { $call = uc $call; - my $user = ($call eq $self->call) ? $self->user : DXUser->get($call); - if ($user) { - $user->here(0); - push @out, DXM::msg('hereu', $call); + my $ref = DXCluster->get($call); + if ($ref) { + $ref->here(0); + DXProt::broadcast_ak1a(DXProt::pc24($ref)); + push @out, $self->msg('hereu', $call); } else { - push @out, DXM::msg('e3', "Unset Here", $call); + push @out, $self->msg('e3', "Unset Here", $call); } } return (1, @out);