mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 05:09:23 +01:00
Allow MODE arguments that do not start with a + or a -.
This commit is contained in:
parent
9c1d46d151
commit
af98c0c12e
@ -254,9 +254,9 @@ def separateModes(args):
|
||||
if not args:
|
||||
return []
|
||||
modes = args[0]
|
||||
assert modes[0] in '+-', 'Invalid args: %r' % args
|
||||
args = list(args[1:])
|
||||
ret = []
|
||||
last = '+'
|
||||
for c in modes:
|
||||
if c in '+-':
|
||||
last = c
|
||||
|
Loading…
Reference in New Issue
Block a user