Make 'LIST' with no args default to 'LIST ACTIVE'

This commit is contained in:
XANTRONIX Development 2025-01-04 17:20:09 -05:00
parent 241ac5a2d8
commit 1b519cfcfd

View file

@ -391,7 +391,7 @@ class Session(Connection):
def _cmd_list(self, *args):
if len(args) == 0:
return self.respond(ResponseCode.NNTP_SYNTAX_ERROR, "No subcommand provided")
args = ('ACTIVE',)
subcmd, *subargs = args