]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/LeiImport.pm
lei: always pass $lei to LeiAuth->op_merge
[public-inbox.git] / lib / PublicInbox / LeiImport.pm
index 2f8fd6c64f69f4348a6bcb77335ba8bcdf32d85d..d8f39fdf171bfcd99ac507b02acc0887fec12b96 100644 (file)
@@ -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;