3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-12-23 19:22:40 +01:00

DualIndexSQLiteObject: get_each(): fix expression splitting

This commit is contained in:
Pragmatic Software 2021-05-29 14:00:22 -07:00
parent 943ea5670e
commit f8c73d4f62

View File

@ -350,7 +350,7 @@ sub get_each {
my $everything = 0;
foreach my $expr (@opts) {
my ($key, $op, $value) = split /\s*([!=<>]+)\s*/, $expr, 3;
my ($key, $op, $value) = split /\s+/, $expr, 3;
if ($key eq '_everything') {
$everything = 1;