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/LeiXSearch.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/LeiXSearch.pm')
-rw-r--r-- | lib/PublicInbox/LeiXSearch.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/LeiXSearch.pm b/lib/PublicInbox/LeiXSearch.pm index 119070a2..acc36897 100644 --- a/lib/PublicInbox/LeiXSearch.pm +++ b/lib/PublicInbox/LeiXSearch.pm @@ -548,7 +548,7 @@ sub do_query { 'child_error' => [ $lei ], 'incr_start_query' => [ $self, $lei ], }; - $lei->{auth}->op_merge($ops, $l2m) if $l2m && $lei->{auth}; + $lei->{auth}->op_merge($ops, $l2m, $lei) if $l2m && $lei->{auth}; my $end = $lei->pkt_op_pair; $lei->{1}->autoflush(1); $lei->start_pager if delete $lei->{need_pager}; |