about summary refs log tree commit homepage
path: root/lib/PublicInbox/Search.pm
diff options
context:
space:
mode:
authorEric Wong (Contractor, The Linux Foundation) <e@80x24.org>2018-03-19 08:14:38 +0000
committerEric Wong (Contractor, The Linux Foundation) <e@80x24.org>2018-03-19 08:16:34 +0000
commitb20b8747256433b0b7b4d1ed5c415d2101044dda (patch)
treeccf9f53722c67eba6a5f5386ee1c5f91b1cef7f6 /lib/PublicInbox/Search.pm
parent7c2ec9ba728c92d48e836d87062992148202bded (diff)
downloadpublic-inbox-b20b8747256433b0b7b4d1ed5c415d2101044dda.tar.gz
search: allow ->reopen to be chainable
Makes life a little easier for V2Writable...
Diffstat (limited to 'lib/PublicInbox/Search.pm')
-rw-r--r--lib/PublicInbox/Search.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/PublicInbox/Search.pm b/lib/PublicInbox/Search.pm
index 7cad31a7..7e7c989d 100644
--- a/lib/PublicInbox/Search.pm
+++ b/lib/PublicInbox/Search.pm
@@ -173,6 +173,7 @@ sub reopen {
         if (my $skel = $self->{skel}) {
                 $skel->reopen;
         }
+        $self; # make chaining easier
 }
 
 # read-only