6. make set/isolate and acc/route mutually exclusive (and issue appropriate
[spider.git] / cmd / accept / route.pl
1 #
2 # accept/reject filter commands
3 #
4 # Copyright (c) 2000 Dirk Koopman G1TLH
5 #
6 # $Id$
7 #
8
9 my ($self, $line) = @_;
10 my $type = 'accept';
11 my $sort  = 'route';
12
13 my ($r, $filter, $fno) = $Route::filterdef->cmd($self, $sort, $type, $line);
14 return (1, $r ? $filter : $self->msg('filter1', $fno, $filter->{name}));