about summary refs log tree commit homepage
path: root/lib/PublicInbox/Feed.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/PublicInbox/Feed.pm')
-rw-r--r--lib/PublicInbox/Feed.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/Feed.pm b/lib/PublicInbox/Feed.pm
index cbf25d46..0bd458c9 100644
--- a/lib/PublicInbox/Feed.pm
+++ b/lib/PublicInbox/Feed.pm
@@ -85,7 +85,7 @@ sub recent_msgs {
         my $ibx = $ctx->{-inbox};
         my $max = $ibx->{feedmax};
         my $qp = $ctx->{qp};
-        my $v = $ibx->{version} || 1;
+        my $v = $ibx->version;
         if ($v > 2) {
                 die "BUG: unsupported inbox version: $v\n";
         }