X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=lib%2FPublicInbox%2FConfig.pm;h=e7aea99b7ae80f8c8f515583b963d51bbfb59da7;hb=fb7d0067dc55fa8336dab96c07807fc7b28a1b20;hp=251008a38e0e7e5b542c9675801e8d6b463a41c9;hpb=98ff501233ee371c98519bf96394ef8085c3b076;p=public-inbox.git diff --git a/lib/PublicInbox/Config.pm b/lib/PublicInbox/Config.pm index 251008a3..e7aea99b 100644 --- a/lib/PublicInbox/Config.pm +++ b/lib/PublicInbox/Config.pm @@ -438,7 +438,9 @@ EOF } } if (my $ng = $ibx->{newsgroup}) { - $self->{-by_newsgroup}->{$ng} = $ibx; + # PublicInbox::NNTPD does stricter (and more expensive checks), + # keep this lean for startup speed + $self->{-by_newsgroup}->{$ng} = $ibx unless ref($ng); } $self->{-by_name}->{$name} = $ibx; if ($ibx->{obfuscate}) {