`rq` nick search now whole-word; wildcards still work

This commit is contained in:
Pragmatic Software 2018-03-25 16:04:17 -07:00
parent ceb06d611c
commit b90d67b665
1 changed files with 1 additions and 1 deletions

View File

@ -121,7 +121,7 @@ sub get_random_quotegrab {
if(defined $nick) {
$sql .= $where . 'nick LIKE ? ';
push @params, "%$nick%";
push @params, "$nick";
$where = '';
$and = 'AND ';
}