1. Added RCMD for clx
[spider.git] / cmd / rcmd.pl
index 11a8caf533445d72e7d5fb378934515c1d94d96e..396cd45b68ae80df2b6b58f9011bfa4f102db630 100644 (file)
@@ -24,11 +24,11 @@ $call = uc $call;
 my $noderef = DXCluster->get_exact($call);
 unless ($noderef) {
        $noderef = DXChannel->get($call);
-       $noderef = undef unless $noderef && $noderef->is_ak1a;
+       $noderef = undef unless $noderef && $noderef->is_node;
 }
 return (1, $self->msg('e7', $call)) unless $noderef;
 
 # rcmd it
-DXProt::addrcmd($self->call, $call, $line);
+DXProt::addrcmd($self, $call, $line);
 
 return (1, $self->msg('rcmdo', $line, $call));