diff --git a/lib/commands/get.pm b/lib/commands/get.pm index 9bd2fe01e152c27a1ff19114e8304acba43a5ae8..e83a915c1b40260bee0cb6be3f890df3a5f1f3f1 100644 --- a/lib/commands/get.pm +++ b/lib/commands/get.pm @@ -23,6 +23,7 @@ sub exec { if (scalar @{$query->words} == 1 and scalar @{$query->tags} == 0 + and $query->id == -1 and not $query->is_single_word) { $irc->yield(privmsg => $chan => "pour faire une recherche avec un seul mot, ajouter l'option -jesuisunspammeur (sinon on peut faire une recherche en query aussi)");