projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Now add files that the previous commit refered to
[spider.git]
/
cmd
/
unset
/
wwv.pl
diff --git
a/cmd/unset/wwv.pl
b/cmd/unset/wwv.pl
index e7c2286a24a17f3f76800a01ed7b0fedac6ecdee..67e014b5b385b19149b4eb7291dfd6c86dfe40ef 100644
(file)
--- a/
cmd/unset/wwv.pl
+++ b/
cmd/unset/wwv.pl
@@
-3,7
+3,7
@@
#
# Copyright (c) 1998 - Dirk Koopman
#
#
# Copyright (c) 1998 - Dirk Koopman
#
-#
$Id$
+#
#
my ($self, $line) = @_;
#
my ($self, $line) = @_;
@@
-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);