mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-23 12:29:27 +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) {
|
if(defined $nick) {
|
||||||
$sql .= $where . 'nick LIKE ? ';
|
$sql .= $where . 'nick LIKE ? ';
|
||||||
push @params, "%$nick%";
|
push @params, "$nick";
|
||||||
$where = '';
|
$where = '';
|
||||||
$and = 'AND ';
|
$and = 'AND ';
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user