2 # set the want to send PC19 route flag
4 # Copyright (c) 2002 - Dirk Koopman
9 my ($self, $line) = @_;
10 my @args = split /\s+/, uc $line;
14 return (1, $self->msg('e5')) if $self->priv < 9;
16 foreach $call (@args) {
17 return (1, $self->msg('e12')) unless is_callsign($call);
19 my $user = DXUser->get_current($call);
21 $user->wantroutepc19(1);
23 push @out, $self->msg('wpc19s', $call);
25 push @out, $self->msg('e3', "set/wantroutepc19", $call);