From 74ff318119fa5a7f34a703a9df953681510f6bc4 Mon Sep 17 00:00:00 2001 From: Alexandre Morignot <erdnaxeli@cervoi.se> Date: Wed, 2 Sep 2015 21:30:50 +0200 Subject: [PATCH] -f option not needed when we juste want a random content --- lib/commands/get.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/commands/get.pm b/lib/commands/get.pm index f8f77f0..3ed7283 100644 --- a/lib/commands/get.pm +++ b/lib/commands/get.pm @@ -25,6 +25,7 @@ sub exec { my $rows = $db_query->get_rows($query); if (scalar @{$query->tags} == 0 + and scalar @{$query->words} > 0 and $query->id == -1 and $rows > 10 and not $query->force) -- GitLab