X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Faccept%2Fspots.pl;h=eb0a010a347995445407fe31b9389d441aa81d0b;hb=76027e074b381b0cdc76b3c23ac751802ee174fe;hp=b8f4c861b0e41bbae5294186d0565a6accb9dbf1;hpb=70261345f844db52943884eb12c204c17105721b;p=spider.git diff --git a/cmd/accept/spots.pl b/cmd/accept/spots.pl index b8f4c861..eb0a010a 100644 --- a/cmd/accept/spots.pl +++ b/cmd/accept/spots.pl @@ -3,7 +3,7 @@ # # Copyright (c) 2000 Dirk Koopman G1TLH # -# $Id$ +# # my ($self, $line) = @_; @@ -11,4 +11,5 @@ my $type = 'accept'; my $sort = 'spots'; my ($r, $filter, $fno) = $Spot::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}));