]> Sergey Matveev's repositories - public-inbox.git/commitdiff
nntpd: do not delete newsgroup name from inbox object
authorEric Wong <e@80x24.org>
Wed, 3 Aug 2022 20:03:54 +0000 (20:03 +0000)
committerEric Wong <e@80x24.org>
Thu, 4 Aug 2022 07:00:57 +0000 (07:00 +0000)
While PublicInbox::NNTP doesn't use it, config sharing inside
public-inbox-netd will mean inbox objects also get shared.

lib/PublicInbox/NNTPD.pm

index 15a72bac663d9791f05e53e382d222b76f95a597..4f550bb08ad23a2ea1fb6dfb3babf7543307d6cb 100644 (file)
@@ -48,7 +48,6 @@ sub refresh_groups {
                        $ibx->base_url;
                } else {
                        delete $groups->{$ngname};
-                       delete $ibx->{newsgroup};
                        # Note: don't be tempted to delete more for memory
                        # savings just yet: NNTP, IMAP, and WWW may all
                        # run in the same process someday.