projects
/
spider.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
329702a
)
recommit partial one
author
minima
<minima>
Sun, 30 Jul 2000 13:24:16 +0000
(13:24 +0000)
committer
minima
<minima>
Sun, 30 Jul 2000 13:24:16 +0000
(13:24 +0000)
cmd/set/obscount.pl
patch
|
blob
|
history
cmd/set/privilege.pl
patch
|
blob
|
history
diff --git
a/cmd/set/obscount.pl
b/cmd/set/obscount.pl
index fcbf81eec7c8a0d9068d5cb5d9b7c1e979e42ba4..ed5f6c4574c5cf27ec5db53a3a632f8b79651c6a 100644
(file)
--- a/
cmd/set/obscount.pl
+++ b/
cmd/set/obscount.pl
@@
-14,7
+14,7
@@
my $user;
my $val = int shift @args if @args;
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;
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 5a475e7fe70ec90c07b1a8280a77276912eb22bc..ea9e218ded0ab26a9b85b2df17181373a7475af8 100644
(file)
--- a/
cmd/set/privilege.pl
+++ b/
cmd/set/privilege.pl
@@
-15,7
+15,7
@@
my @out;
my $user;
my $ref;
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'));
}
Log('DXCommand', $self->call . " attempted to set privilege $priv for @args");
return (1, $self->msg('e5'));
}