projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cater better for 0 pingint in links cmd
[spider.git]
/
cmd
/
set
/
node.pl
diff --git
a/cmd/set/node.pl
b/cmd/set/node.pl
index 5c9b00fafd28d6021126007613f44d32282e0b0f..82e8be11f9d90b0dcd127fdcc064ef834a087c48 100644
(file)
--- a/
cmd/set/node.pl
+++ b/
cmd/set/node.pl
@@
-5,7
+5,7
@@
#
# Copyright (c) 1998 - Dirk Koopman
#
#
# Copyright (c) 1998 - Dirk Koopman
#
-#
$Id$
+#
#
my ($self, $line) = @_;
#
my ($self, $line) = @_;
@@
-19,7
+19,7
@@
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 {
@@
-29,6
+29,7
@@
foreach $call (@args) {
if ($user) {
$user->sort('A');
$user->homenode($call);
if ($user) {
$user->sort('A');
$user->homenode($call);
+ $user->lockout(0);
$user->priv(1) unless $user->priv;
$user->close();
push @out, $self->msg($create ? 'nodeac' : 'nodea', $call);
$user->priv(1) unless $user->priv;
$user->close();
push @out, $self->msg($create ? 'nodeac' : 'nodea', $call);