diff options
author | Eric Wong <e@80x24.org> | 2016-07-07 19:55:29 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2016-07-07 19:56:40 +0000 |
commit | 4a1612ec77c1904b4ba44422ec8cfade3fe603f4 (patch) | |
tree | aaf30602a83eef1c4035632e0ed55c50b677ccad /lib/PublicInbox/NNTPD.pm | |
parent | 070f24660dffd35c4cf7151eb994e17029562894 (diff) | |
download | public-inbox-4a1612ec77c1904b4ba44422ec8cfade3fe603f4.tar.gz |
Fixes: 33cef7f24d3d ("config: introduce each_inbox for iteration")
Diffstat (limited to 'lib/PublicInbox/NNTPD.pm')
-rw-r--r-- | lib/PublicInbox/NNTPD.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/NNTPD.pm b/lib/PublicInbox/NNTPD.pm index a67811bc..eb43a2bf 100644 --- a/lib/PublicInbox/NNTPD.pm +++ b/lib/PublicInbox/NNTPD.pm @@ -25,7 +25,7 @@ sub refresh_groups () { my @list; $pi_config->each_inbox(sub { my ($ng) = @_; - my $ngname = $ng->{newsgroup} or next; + my $ngname = $ng->{newsgroup} or return; if (ref $ngname) { warn 'multiple newsgroups not supported: '. join(', ', @$ngname). "\n"; |