diff options
author | Eric Wong <e@80x24.org> | 2016-05-19 08:06:05 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2016-05-19 08:06:05 +0000 |
commit | 84b2f63cea98eeed16ce75fa031fb8d7c2a2b66c (patch) | |
tree | bb907eb682de7bf78172da0f30d3547bde27a4c2 /lib | |
parent | d9f8d7fbc53dfef25f8a8b260274afcade86ed42 (diff) | |
download | public-inbox-84b2f63cea98eeed16ce75fa031fb8d7c2a2b66c.tar.gz |
Oops, but at least it was mostly harmless, just ugly. Followup-to: 9bfe40e7a4ac 'nntp: use "newsgroup" instead of "name"''
Diffstat (limited to 'lib')
-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 2c84fb30..fc26c5c0 100644 --- a/lib/PublicInbox/NNTPD.pm +++ b/lib/PublicInbox/NNTPD.pm @@ -51,7 +51,7 @@ sub refresh_groups () { push @list, $ng; } } - @list = sort { $a->{name} cmp $b->{name} } @list; + @list = sort { $a->{newsgroup} cmp $b->{newsgroup} } @list; $self->{grouplist} = \@list; # this will destroy old groups that got deleted %{$self->{groups}} = %$new; |