We have lift off, we are CONNECTED. We aren't doing much but we can
[spider.git] / cmd / set / dx.pl
index 00ea032862d92f1dd180e3a91080e5593e6ac006..0acb39db987498ff3a0ae87be00f8e726b59bc14 100644 (file)
@@ -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->dx(1);
+  my $chan = DXChannel->get($call);
+  if ($chan) {
+    $chan->dx(1);
        push @out, DXM::msg('dxs', $call);
   } else {
     push @out, DXM::msg('e3', "Set DX Spots", $call);