X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Funset%2Flocal_node.pl;h=9753fb593f521e290f33dddf16aa74f9983462f7;hb=ab811a0c902225075a9bd69749f65594079433a9;hp=c9439ae32a578f737dd90e77405d803a6f773af9;hpb=c3505bcfc922cd712bad2c20b3479cf8d1dc54fe;p=spider.git 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 || [];