X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Faccept%2Fwcy.pl;fp=cmd%2Faccept%2Fwcy.pl;h=bfa89dc2624906a7890772393ce66f7e4aa364f4;hb=2b44cbaa7a18bf641aec3439384dd1fb10b99752;hp=0000000000000000000000000000000000000000;hpb=77364cc150e6ebc236525dbd9dbcde38f41b7fed;p=spider.git diff --git a/cmd/accept/wcy.pl b/cmd/accept/wcy.pl new file mode 100644 index 00000000..bfa89dc2 --- /dev/null +++ b/cmd/accept/wcy.pl @@ -0,0 +1,14 @@ +# +# accept/reject filter commands +# +# Copyright (c) 2000 Dirk Koopman G1TLH +# +# $Id$ +# + +my ($self, $line) = @_; +my $type = 'accept'; +my $sort = 'wcy'; + +my ($r, $filter, $fno) = $WCY::filterdef->cmd($self, $sort, $type, $line); +return (0, $r ? $r : $self->msg('filter1', $fno, $filter->{name}));