From 1b519cfcfddb6d3fadfcc31f1c48e599bdad799a Mon Sep 17 00:00:00 2001 From: XANTRONIX Development Date: Sat, 4 Jan 2025 17:20:09 -0500 Subject: [PATCH] Make 'LIST' with no args default to 'LIST ACTIVE' --- lib/xenu_nntp/session.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/xenu_nntp/session.py b/lib/xenu_nntp/session.py index 1738378..9799833 100644 --- a/lib/xenu_nntp/session.py +++ b/lib/xenu_nntp/session.py @@ -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