]> Sergey Matveev's repositories - public-inbox.git/commit
nntpd: remove redundant {groups} shortcut
authorEric Wong <e@80x24.org>
Sat, 28 Nov 2020 05:09:16 +0000 (05:09 +0000)
committerEric Wong <e@80x24.org>
Sun, 29 Nov 2020 02:25:51 +0000 (02:25 +0000)
commitbdef958bdccc4b1d11cd8408a5c29167b5385dc0
treec8bf5c2770964f148e783c6a82f89e72de5d255d
parent2d3fc25afe7435992236ac143039b24248c5e74d
nntpd: remove redundant {groups} shortcut

It's not worth confusing hackers reading the source to have
two ways to access the same (large) hash table.  So just
go through PublicInbox::Config objects for now since the
extra hash lookup isn't going to be noticeable.

I've also started favoring "for" instead of "foreach"
since they're the equivalent perlop and less wear on
my fingers + keyboard.
lib/PublicInbox/NNTP.pm
lib/PublicInbox/NNTPD.pm