X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?p=spider.git;a=blobdiff_plain;f=cmd%2Funset%2Flocal_node.pl;h=9753fb593f521e290f33dddf16aa74f9983462f7;hp=c9439ae32a578f737dd90e77405d803a6f773af9;hb=ab811a0c902225075a9bd69749f65594079433a9;hpb=8182fba8e33d568b834621cc35c1ca7c74fb5487 diff --git a/cmd/unset/local_node.pl b/cmd/unset/local_node.pl index c9439ae3..9753fb59 100644 --- a/cmd/unset/local_node.pl +++ b/cmd/unset/local_node.pl @@ -13,7 +13,7 @@ my @out; return (1, $self->msg('e5')) unless $self->priv >= 5; foreach my $call (@args) { - my $user = DXUser->get_current($call); + my $user = DXUser::get_current($call); push(@out, $self->msg('e3', 'set/localnode', $call)), next unless $user; push(@out, $self->msg('e13', $call)), next unless $user->is_node; my $group = $user->group || [];