From 8cd5395c7fe3c5a791af797fe03b9d7d32ae12d5 Mon Sep 17 00:00:00 2001 From: minima Date: Sun, 30 Jul 2000 13:24:16 +0000 Subject: [PATCH] recommit partial one --- cmd/set/obscount.pl | 2 +- cmd/set/privilege.pl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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')); } -- 2.43.0