4 # Copyright (c) 1998 Dirk Koopman G1TLH
10 my $line = uc shift; # only one callsign allowed
11 my ($call) = $line =~ /^\s*(\S+)/;
14 return (1, $self->msg('e5')) if $self->priv < 1;
17 return (1, $self->msg('e6')) if !$call;
20 return (1, $self->msg('pinge1')) if $call eq $main::mycall;
22 # can we see it? Is it a node?
23 my $noderef = DXCluster->get_exact($call);
24 $noderef = DXChannel->get($call) unless $noderef;
26 return (1, $self->msg('e7', $call)) unless $noderef;
29 DXProt::addping($self->call, $call);
31 return (1, $self->msg('pingo', $call));