mirror of
https://github.com/pragma-/pbot.git
synced 2025-01-11 12:32:37 +01:00
DualIndexSQLiteObject: get_each(): fix expression splitting
This commit is contained in:
parent
943ea5670e
commit
f8c73d4f62
@ -350,7 +350,7 @@ sub get_each {
|
|||||||
my $everything = 0;
|
my $everything = 0;
|
||||||
|
|
||||||
foreach my $expr (@opts) {
|
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') {
|
if ($key eq '_everything') {
|
||||||
$everything = 1;
|
$everything = 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user