X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fset%2Fprivilege.pl;h=183c101b948cea8ebd8c9458d8f58b5524f94673;hb=f493dbf120a0a175a7788ee51c9928377b0f4c50;hp=6d5fd4d20cd053a443fc3911e3edffb7b69a0d68;hpb=5f2487385b59dbe88dc763fa9c26fe5a9b4a6b30;p=spider.git diff --git a/cmd/set/privilege.pl b/cmd/set/privilege.pl index 6d5fd4d2..183c101b 100644 --- a/cmd/set/privilege.pl +++ b/cmd/set/privilege.pl @@ -5,7 +5,7 @@ # # Copyright (c) 1998 Dirk Koopman G1TLH # -# $Id$ +# # my ($self, $line) = @_; my @args = split /\s+/, $line; @@ -27,7 +27,7 @@ if ($priv < 0 || $priv > 9) { foreach $call (@args) { $call = uc $call; unless ($self->remotecmd || $self->inscript) { - if ($ref = DXChannel->get($call)) { + if ($ref = DXChannel::get($call)) { $ref->priv($priv); $ref->user->priv($priv); $ref->user->put();