about summary refs log tree commit homepage
path: root/lib/PublicInbox/IMAPD.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2020-11-27 09:52:45 +0000
committerEric Wong <e@80x24.org>2020-11-28 04:53:14 +0000
commitac43c3b17f452b02edf1cce3632a433e998de5ca (patch)
treeddb44342dd894fdfe757c816cb24615247af34bb /lib/PublicInbox/IMAPD.pm
parentfb7d0067dc55fa8336dab96c07807fc7b28a1b20 (diff)
downloadpublic-inbox-ac43c3b17f452b02edf1cce3632a433e998de5ca.tar.gz
This simplifies callers and allows empty newsgroups to be
represented (the WWW UI may be insufficient there, too).
Diffstat (limited to 'lib/PublicInbox/IMAPD.pm')
-rw-r--r--lib/PublicInbox/IMAPD.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/IMAPD.pm b/lib/PublicInbox/IMAPD.pm
index bb705136..366b6922 100644
--- a/lib/PublicInbox/IMAPD.pm
+++ b/lib/PublicInbox/IMAPD.pm
@@ -45,7 +45,7 @@ sub imapd_refresh_ibx { # pi_config->each_inbox cb
         eval { $ibx->uidvalidity };
         my $mm = delete($ibx->{mm}) or return;
         defined($ibx->{uidvalidity}) or return;
-        PublicInbox::IMAP::ensure_slices_exist($imapd, $ibx, $mm->max // 0);
+        PublicInbox::IMAP::ensure_slices_exist($imapd, $ibx, $mm->max);
 
         # preload to avoid fragmentation:
         $ibx->description;