Fix LIST NEWSGROUPS output format to comply to RFC 3977

This commit is contained in:
XANTRONIX Development 2024-12-05 14:16:58 -05:00
parent 7824c8e47b
commit 00264b2d16

View file

@ -293,7 +293,10 @@ class Session(Connection):
for name in self.server.newsgroups:
newsgroup = self.server.newsgroups[name]
self.print_newsgroup(newsgroup)
self.print("%s %s" % (
newsgroup.name,
newsgroup.description
))
return self.end()