From: Eric Wong <e@80x24.org>
Date: Wed, 3 Aug 2022 20:03:54 +0000 (+0000)
Subject: nntpd: do not delete newsgroup name from inbox object
X-Git-Tag: v1.9.0~59
X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=63dce18973d63837efd89225085fe144a8954bdf;p=public-inbox.git

nntpd: do not delete newsgroup name from inbox object

While PublicInbox::NNTP doesn't use it, config sharing inside
public-inbox-netd will mean inbox objects also get shared.
---

diff --git a/lib/PublicInbox/NNTPD.pm b/lib/PublicInbox/NNTPD.pm
index 15a72bac..4f550bb0 100644
--- a/lib/PublicInbox/NNTPD.pm
+++ b/lib/PublicInbox/NNTPD.pm
@@ -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.