]> gb7djk.dxcluster.net Git - spider.git/blob - cmd/accept/route.pl
Merge branch 'newpc92timings' of /scm/spider into newpc92timings
[spider.git] / cmd / accept / route.pl
1 #
2 # accept/reject filter commands
3 #
4 # Copyright (c) 2000 Dirk Koopman G1TLH
5 #
6 #
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}));