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:
parent
ceb06d611c
commit
b90d67b665
@ -121,7 +121,7 @@ sub get_random_quotegrab {
|
||||
|
||||
if(defined $nick) {
|
||||
$sql .= $where . 'nick LIKE ? ';
|
||||
push @params, "%$nick%";
|
||||
push @params, "$nick";
|
||||
$where = '';
|
||||
$and = 'AND ';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user