projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
make mrtg graphs GMT rather than localtime() based
[spider.git]
/
cmd
/
unset
/
node.pl
diff --git
a/cmd/unset/node.pl
b/cmd/unset/node.pl
index 5fab45ebe178cbed5183a12af80da2dfb337512c..b560e6ef44ad6e6da9c1764facd7d02b41f4d203 100644
(file)
--- a/
cmd/unset/node.pl
+++ b/
cmd/unset/node.pl
@@
-5,7
+5,7
@@
#
# Copyright (c) 1998 - Dirk Koopman
#
#
# Copyright (c) 1998 - Dirk Koopman
#
-#
$Id$
+#
#
my ($self, $line) = @_;
#
my ($self, $line) = @_;
@@
-19,13
+19,14
@@
return (1, $self->msg('e5')) if $self->priv < 5;
foreach $call (@args) {
$call = uc $call;
foreach $call (@args) {
$call = uc $call;
- my $chan = DXChannel
->
get($call);
+ my $chan = DXChannel
::
get($call);
if ($chan) {
push @out, $self->msg('nodee1', $call);
} else {
if ($chan) {
push @out, $self->msg('nodee1', $call);
} else {
- $user = DXUser->get
_exact
($call);
+ $user = DXUser->get($call);
return (1, $self->msg('usernf', $call)) if !$user;
$user->sort('U');
return (1, $self->msg('usernf', $call)) if !$user;
$user->sort('U');
+ $user->priv(0);
$user->close();
push @out, $self->msg('nodeu', $call);
}
$user->close();
push @out, $self->msg('nodeu', $call);
}