about summary refs log tree commit homepage
path: root/lib/PublicInbox/ExtSearchIdx.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2021-10-02 11:18:32 +0000
committerEric Wong <e@80x24.org>2021-10-02 20:09:25 +0000
commit3e096b699243ea7bd9d12fec8f3048104e462802 (patch)
treea2fe604a9d3486245cffc7cb626335c7edf6c345 /lib/PublicInbox/ExtSearchIdx.pm
parent502297d2cda95376b38e7d510f1d34fe89a3ec0e (diff)
downloadpublic-inbox-3e096b699243ea7bd9d12fec8f3048104e462802.tar.gz
It doesn't seem to matter, actually, but this matches the
behavior of attach_inbox and the comment in ->new.
Diffstat (limited to 'lib/PublicInbox/ExtSearchIdx.pm')
-rw-r--r--lib/PublicInbox/ExtSearchIdx.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/PublicInbox/ExtSearchIdx.pm b/lib/PublicInbox/ExtSearchIdx.pm
index f0992e5e..972049e4 100644
--- a/lib/PublicInbox/ExtSearchIdx.pm
+++ b/lib/PublicInbox/ExtSearchIdx.pm
@@ -89,6 +89,7 @@ sub attach_config {
                         $self->{ibx_map}->{$ibx->eidx_key} //= do {
                                 push @{$self->{ibx_active}}, $ibx;
                                 push @{$self->{ibx_known}}, $ibx;
+                                $ibx;
                         }
                 }
                 # invalidate cache