projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
changed sh/config to show no of users if known
[spider.git]
/
cmd
/
set
/
wwv.pl
diff --git
a/cmd/set/wwv.pl
b/cmd/set/wwv.pl
index 2e403cec49db4dd9d0c0cef3e8bacdd6da40f4ff..701a385c4163dd97ba1b8b5cb879c79bf99aa461 100644
(file)
--- a/
cmd/set/wwv.pl
+++ b/
cmd/set/wwv.pl
@@
-15,12
+15,12
@@
my @out;
foreach $call (@args) {
$call = uc $call;
foreach $call (@args) {
$call = uc $call;
- my $
user = ($call eq $self->call) ? $self->user : DXUser
->get($call);
- if ($
user
) {
- $
user
->wwv(1);
- push @out,
DXM::
msg('wwvs', $call);
+ my $
chan = DXChannel
->get($call);
+ if ($
chan
) {
+ $
chan
->wwv(1);
+ push @out,
$self->
msg('wwvs', $call);
} else {
} else {
- push @out,
DXM::
msg('e3', "Set WWV", $call);
+ push @out,
$self->
msg('e3', "Set WWV", $call);
}
}
return (1, @out);
}
}
return (1, @out);