remove $Id$ strings from everywhere that I can find
[spider.git] / cmd / set / dx.pl
index 0acb39db987498ff3a0ae87be00f8e726b59bc14..2690ddc7e0e5f4ebbc18b9f9be38f84844efe8ac 100644 (file)
@@ -3,7 +3,7 @@
 #
 # Copyright (c) 1998 - Dirk Koopman
 #
-# $Id$
+#
 #
 
 my ($self, $line) = @_;
@@ -15,12 +15,13 @@ my @out;
 
 foreach $call (@args) {
   $call = uc $call;
-  my $chan = DXChannel->get($call);
+  my $chan = DXChannel::get($call);
   if ($chan) {
     $chan->dx(1);
-       push @out, DXM::msg('dxs', $call);
+    $chan->user->wantdx(1);
+       push @out, $self->msg('dxs', $call);
   } else {
-    push @out, DXM::msg('e3', "Set DX Spots", $call);
+    push @out, $self->msg('e3', "Set DX Spots", $call);
   }
 }
 return (1, @out);