4 # Copyright (c) 2006 - Dirk Koopman G1TLH
9 my ($self, $line) = @_;
10 my @args = split /\s+/, uc $line;
14 my $buddies = $self->user->buddies || [];
16 foreach my $call (@args) {
17 push(@out, $self->msg('e22', $call)), next unless is_callsign($call);
18 next if $call eq $self->call;
19 push @$buddies, $call unless grep $_ eq $call, @$buddies;
20 push @out, $self->msg('buddya', $call);