projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
start of mojo conversion
[spider.git]
/
cmd
/
set
/
clx.pl
diff --git
a/cmd/set/clx.pl
b/cmd/set/clx.pl
index 954a6655be63b96174f88941b481d11e1dea4b81..eaead5ab22e0637e7250a1020e0848a82dbd591e 100644
(file)
--- a/
cmd/set/clx.pl
+++ b/
cmd/set/clx.pl
@@
-1,11
+1,11
@@
#
#
-# set user type to '
S' for Spider
node
+# set user type to '
C' for CLX
node
#
# Please note that this is only effective if the user is not on-line
#
# Copyright (c) 1998 - Dirk Koopman
#
#
# Please note that this is only effective if the user is not on-line
#
# Copyright (c) 1998 - Dirk Koopman
#
-#
$Id$
+#
#
my ($self, $line) = @_;
#
my ($self, $line) = @_;
@@
-19,16
+19,17
@@
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($call);
+ $user = DXUser
::
get($call);
$create = !$user;
$user = DXUser->new($call) if $create;
if ($user) {
$user->sort('C');
$user->homenode($call);
$create = !$user;
$user = DXUser->new($call) if $create;
if ($user) {
$user->sort('C');
$user->homenode($call);
+ $user->lockout(0);
$user->priv(1) unless $user->priv;
$user->close();
push @out, $self->msg($create ? 'nodecc' : 'nodec', $call);
$user->priv(1) unless $user->priv;
$user->close();
push @out, $self->msg($create ? 'nodecc' : 'nodec', $call);