about summary refs log tree commit homepage
path: root/lib/PublicInbox/NNTPD.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2016-05-19 08:06:05 +0000
committerEric Wong <e@80x24.org>2016-05-19 08:06:05 +0000
commit84b2f63cea98eeed16ce75fa031fb8d7c2a2b66c (patch)
treebb907eb682de7bf78172da0f30d3547bde27a4c2 /lib/PublicInbox/NNTPD.pm
parentd9f8d7fbc53dfef25f8a8b260274afcade86ed42 (diff)
downloadpublic-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/PublicInbox/NNTPD.pm')
-rw-r--r--lib/PublicInbox/NNTPD.pm2
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;