Make 'LIST' with no args default to 'LIST ACTIVE'
This commit is contained in:
parent
241ac5a2d8
commit
1b519cfcfd
1 changed files with 1 additions and 1 deletions
|
@ -391,7 +391,7 @@ class Session(Connection):
|
||||||
|
|
||||||
def _cmd_list(self, *args):
|
def _cmd_list(self, *args):
|
||||||
if len(args) == 0:
|
if len(args) == 0:
|
||||||
return self.respond(ResponseCode.NNTP_SYNTAX_ERROR, "No subcommand provided")
|
args = ('ACTIVE',)
|
||||||
|
|
||||||
subcmd, *subargs = args
|
subcmd, *subargs = args
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue