force removal of ssid on badspotter
[spider.git] / cmd / unset / wwv.pl
index 51882a4697ac0da5b83c1fdc92ffc945f7213a5c..57b041193a4454fe9fb3f3a956449ff46f084ad1 100644 (file)
@@ -15,9 +15,9 @@ my @out;
 
 foreach $call (@args) {
   $call = uc $call;
-  my $chan = DXChannel->get($call);
+  my $chan = DXChannel::get($call);
   if ($chan) {
-    $chan->wwv(0);
+    DXChannel::wwv($chan, 0);
     $chan->user->wantwwv(0);
        push @out, $self->msg('wwvu', $call);
   } else {