4 # Copyright (c) 1998 Dirk Koopman G1TLH
11 my ($call) = $line =~ /^\s*(\S+)/;
12 return (1, $self->msg('e5')) if $self->remotecmd;
15 return (1, $self->msg('e5')) if $self->priv < 6;
18 return (1, $self->msg('e6')) unless $call;
20 # remove the callsign from the line
21 $line =~ s/^\s*$call\s+//;
23 # can we see it? Is it a node?
25 my $noderef = DXCluster->get_exact($call);
27 $noderef = DXChannel->get($call);
28 $noderef = undef unless $noderef && $noderef->is_node;
30 return (1, $self->msg('e7', $call)) unless $noderef;
33 DXProt::addrcmd($self, $call, $line);
35 return (1, $self->msg('rcmdo', $line, $call));