From: minima Date: Sun, 30 Jul 2000 13:24:16 +0000 (+0000) Subject: recommit partial one X-Git-Tag: R_1_43~17 X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=8cd5395c7fe3c5a791af797fe03b9d7d32ae12d5;p=spider.git recommit partial one --- diff --git a/cmd/set/obscount.pl b/cmd/set/obscount.pl index fcbf81ee..ed5f6c45 100644 --- a/cmd/set/obscount.pl +++ b/cmd/set/obscount.pl @@ -14,7 +14,7 @@ my $user; my $val = int shift @args if @args; -return (1, $self->msg('e5')) if $self->priv < 9; +return (1, $self->msg('e5')) if $self->priv < 8; return (1, $self->msg('e14')) unless defined $val; return (1, $self->msg('e12')) unless @args; diff --git a/cmd/set/privilege.pl b/cmd/set/privilege.pl index 5a475e7f..ea9e218d 100644 --- a/cmd/set/privilege.pl +++ b/cmd/set/privilege.pl @@ -15,7 +15,7 @@ my @out; my $user; my $ref; -if ($self->priv < 9) { +if ($self->priv < 9 || $self->remotecmd) { Log('DXCommand', $self->call . " attempted to set privilege $priv for @args"); return (1, $self->msg('e5')); }