about summary refs log tree commit homepage
path: root/lib/PublicInbox/LeiUp.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/PublicInbox/LeiUp.pm')
-rw-r--r--lib/PublicInbox/LeiUp.pm5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/PublicInbox/LeiUp.pm b/lib/PublicInbox/LeiUp.pm
index 23c5c606..63a7f996 100644
--- a/lib/PublicInbox/LeiUp.pm
+++ b/lib/PublicInbox/LeiUp.pm
@@ -25,10 +25,9 @@ sub lei_up {
         $lei->{opt}->{output} = $lss->{-cfg}->{'lei.q.output'} //
                 return $lei->fail("lei.q.output unset in $lss->{-f}");
 
-        my $to_avref = $lss->{-cfg}->can('_array');
         for my $k (qw(only include exclude)) {
-                my $v = $lss->{-cfg}->{"lei.q.$k"} // next;
-                $lei->{opt}->{$k} = $to_avref->($v);
+                my $v = $lss->{-cfg}->get_all("lei.q.$k") // next;
+                $lei->{opt}->{$k} = $v;
         }
         for my $k (qw(external local remote
                         import-remote import-before threads)) {