_parse_flags() should always return 2 objects
This commit is contained in:
parent
7094d94cd7
commit
710caebbc4
1 changed files with 1 additions and 1 deletions
|
@ -239,7 +239,7 @@ class Module(ModuleManager.BaseModule):
|
|||
elif s[0] == "-":
|
||||
return False, list(s[1:])
|
||||
else:
|
||||
return None
|
||||
return None, None
|
||||
|
||||
@utils.hook("received.command.flags")
|
||||
@utils.kwarg("channel_only", True)
|
||||
|
|
Loading…
Reference in a new issue