about summary refs log tree commit homepage
path: root/lib/PublicInbox/LeiImport.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2021-10-23 18:20:39 -0600
committerEric Wong <e@80x24.org>2021-10-24 02:20:33 +0000
commitcb04d2ddfd53c36eaf1a49cadb8158ae76622683 (patch)
treec8d3a73fe10fac26f3d892a82bc01eb623771d1a /lib/PublicInbox/LeiImport.pm
parent9a7c75b64e9dc351fddce61b32694d504c2e80c2 (diff)
downloadpublic-inbox-cb04d2ddfd53c36eaf1a49cadb8158ae76622683.tar.gz
lei: always pass $lei to LeiAuth->op_merge
This will make future developments easier.
Diffstat (limited to 'lib/PublicInbox/LeiImport.pm')
-rw-r--r--lib/PublicInbox/LeiImport.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/LeiImport.pm b/lib/PublicInbox/LeiImport.pm
index 2f8fd6c6..d8f39fdf 100644
--- a/lib/PublicInbox/LeiImport.pm
+++ b/lib/PublicInbox/LeiImport.pm
@@ -103,7 +103,7 @@ sub do_import_index ($$@) {
         ($lei->{opt}->{'new-only'} && (!$net || !$net->{imap_order})) and
                 warn "# --new-only is only for IMAP\n";
         my $ops = {};
-        $lei->{auth}->op_merge($ops, $self) if $lei->{auth};
+        $lei->{auth}->op_merge($ops, $self, $lei) if $lei->{auth};
         $lei->{-eml_noisy} = 1;
         (my $op_c, $ops) = $lei->workers_start($self, $j, $ops);
         $lei->{wq1} = $self;