projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
put a check for an empty filter command line
[spider.git]
/
cmd
/
accept
/
spots.pl
diff --git
a/cmd/accept/spots.pl
b/cmd/accept/spots.pl
index a76e3b34d99959dd35d094446222caafbe96b1fe..1c06dbe337783e0c3cee68732f758a7d8e85a857 100644
(file)
--- a/
cmd/accept/spots.pl
+++ b/
cmd/accept/spots.pl
@@
-9,6
+9,8
@@
my ($self, $line) = @_;
my $sort = 'accept';
+return (0, $self->msg('filter5')) unless $line;
+
my ($r, $filter, $fno, $user, $s) = $Spot::filterdef->parse($self, $line);
return (0, $filter) if $r;