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:
parent
943ea5670e
commit
f8c73d4f62
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user