X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fset%2Fwwv.pl;h=bfa04f256c8c135be698f1e1521fc44aafdcb164;hb=1cf4bd14be226274d5deb05da8480ab91a5dac52;hp=2e403cec49db4dd9d0c0cef3e8bacdd6da40f4ff;hpb=20b0104deaeab77fa7ab1444dbcedfcdbf5865f8;p=spider.git diff --git a/cmd/set/wwv.pl b/cmd/set/wwv.pl index 2e403cec..bfa04f25 100644 --- a/cmd/set/wwv.pl +++ b/cmd/set/wwv.pl @@ -15,9 +15,9 @@ my @out; foreach $call (@args) { $call = uc $call; - my $user = ($call eq $self->call) ? $self->user : DXUser->get($call); - if ($user) { - $user->wwv(1); + my $chan = DXChannel->get($call); + if ($chan) { + $chan->wwv(1); push @out, DXM::msg('wwvs', $call); } else { push @out, DXM::msg('e3', "Set WWV", $call);