diff options
author | Eric Wong <e@80x24.org> | 2021-10-23 18:20:39 -0600 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2021-10-24 02:20:33 +0000 |
commit | cb04d2ddfd53c36eaf1a49cadb8158ae76622683 (patch) | |
tree | c8d3a73fe10fac26f3d892a82bc01eb623771d1a /lib/PublicInbox/LeiImport.pm | |
parent | 9a7c75b64e9dc351fddce61b32694d504c2e80c2 (diff) | |
download | public-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.pm | 2 |
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; |