3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-11-27 06:19:25 +01:00

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

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 ';
}