projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update the base set of keps to 06033.AMSAT
[spider.git]
/
cmd
/
set
/
node.pl
diff --git
a/cmd/set/node.pl
b/cmd/set/node.pl
index 2a8c1479508b12c303c6da25a20ee503f2a1c887..95b38bb60b401c2d2cf6fae03ddba16e03265ab5 100644
(file)
--- a/
cmd/set/node.pl
+++ b/
cmd/set/node.pl
@@
-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 {
@@
-28,8
+28,11
@@
foreach $call (@args) {
$user = DXUser->new($call) if $create;
if ($user) {
$user->sort('A');
$user = DXUser->new($call) if $create;
if ($user) {
$user->sort('A');
+ $user->homenode($call);
+ $user->lockout(0);
+ $user->priv(1) unless $user->priv;
$user->close();
$user->close();
- push @out, $self->msg($create ? 'node
c' : 'node
', $call);
+ push @out, $self->msg($create ? 'node
ac' : 'nodea
', $call);
} else {
push @out, $self->msg('e3', "Set Node", $call);
}
} else {
push @out, $self->msg('e3', "Set Node", $call);
}