]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/NNTPD.pm
nntp: resolve inboxes immediately on group listings
[public-inbox.git] / lib / PublicInbox / NNTPD.pm
index 0350830b59ff53b13255c9fbe5dc59066aa919e3..6e79f0be697fc909ac49ad301b54a4447eebfdc6 100644 (file)
@@ -55,7 +55,7 @@ sub refresh_groups {
                        # run in the same process someday.
                }
        });
-       $self->{groupnames} = [ sort(keys %$groups) ];
+       @{$self->{groupnames}} = sort(keys %$groups);
        # this will destroy old groups that got deleted
        $self->{pi_cfg} = $pi_cfg;
 }