X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Faccept%2Fwwv.pl;h=00c0dc443db33b491e7f258135c6ac1845716a3c;hb=76027e074b381b0cdc76b3c23ac751802ee174fe;hp=965761c9b2cab577dc0a53107c0c46562273e574;hpb=70261345f844db52943884eb12c204c17105721b;p=spider.git diff --git a/cmd/accept/wwv.pl b/cmd/accept/wwv.pl index 965761c9..00c0dc44 100644 --- a/cmd/accept/wwv.pl +++ b/cmd/accept/wwv.pl @@ -3,7 +3,7 @@ # # Copyright (c) 2000 Dirk Koopman G1TLH # -# $Id$ +# # my ($self, $line) = @_; @@ -11,4 +11,5 @@ my $type = 'accept'; my $sort = 'wwv'; my ($r, $filter, $fno) = $Geomag::filterdef->cmd($self, $sort, $type, $line); -return (0, $r ? $filter : $self->msg('filter1', $fno, $filter->{name})); +my $ok = $r ? 0 : 1; +return ($ok, $r ? $filter : $self->msg('filter1', $fno, $filter->{name}));