projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Now add files that the previous commit refered to
[spider.git]
/
cmd
/
set
/
privilege.pl
diff --git
a/cmd/set/privilege.pl
b/cmd/set/privilege.pl
index 6d5fd4d20cd053a443fc3911e3edffb7b69a0d68..865819e7efcfb5c6232bd69ddd7eae163484990a 100644
(file)
--- a/
cmd/set/privilege.pl
+++ b/
cmd/set/privilege.pl
@@
-5,7
+5,7
@@
#
# Copyright (c) 1998 Dirk Koopman G1TLH
#
#
# Copyright (c) 1998 Dirk Koopman G1TLH
#
-#
$Id$
+#
#
my ($self, $line) = @_;
my @args = split /\s+/, $line;
#
my ($self, $line) = @_;
my @args = split /\s+/, $line;
@@
-27,12
+27,12
@@
if ($priv < 0 || $priv > 9) {
foreach $call (@args) {
$call = uc $call;
unless ($self->remotecmd || $self->inscript) {
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();
}
$ref->priv($priv);
$ref->user->priv($priv);
$ref->user->put();
}
- if (!$ref && ($user = DXUser
->
get($call))) {
+ if (!$ref && ($user = DXUser
::
get($call))) {
$user->priv($priv);
$user->put();
}
$user->priv($priv);
$user->put();
}