spider/cmd/accept/spots.pl
minima 956e3acab8 allow - in filters
store only filter expressions
added announce filters
fixed problem with dxcc,itu and cq values on output announce filters
2000-11-03 22:25:23 +00:00

15 lines
300 B
Perl

#
# accept/reject filter commands
#
# Copyright (c) 2000 Dirk Koopman G1TLH
#
# $Id$
#
my ($self, $line) = @_;
my $type = 'accept';
my $sort = 'spots';
my ($r, $filter, $fno) = $Spot::filterdef->cmd($self, $sort, $type, $line);
return (0, $r ? $r : $self->msg('filter1', $fno, $filter->{name}));