projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
make more mods
[spider.git]
/
cmd
/
unset
/
wwv.pl
diff --git
a/cmd/unset/wwv.pl
b/cmd/unset/wwv.pl
index e7c2286a24a17f3f76800a01ed7b0fedac6ecdee..eebf16d73b54e95e64b5ba86071a28bedd4d8526 100644
(file)
--- a/
cmd/unset/wwv.pl
+++ b/
cmd/unset/wwv.pl
@@
-15,9
+15,10
@@
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(0);
+ my $chan = DXChannel->get($call);
+ if ($chan) {
+ DXChannel::wwv($chan, 0);
+ $chan->user->wantwwv(0);
push @out, $self->msg('wwvu', $call);
} else {
push @out, $self->msg('e3', "Unset WWV", $call);
push @out, $self->msg('wwvu', $call);
} else {
push @out, $self->msg('e3', "Unset WWV", $call);