we need a fresh mutable args
copy for each spec
This commit is contained in:
parent
27ba8e8da8
commit
184628ddfc
1 changed files with 2 additions and 1 deletions
|
@ -95,13 +95,14 @@ class Module(ModuleManager.BaseModule):
|
|||
server = event["server"]
|
||||
channel = event["target"] if event["is_channel"] else None
|
||||
user = event["user"]
|
||||
args = event["args_split"].copy()
|
||||
|
||||
first_error = None
|
||||
for spec_arguments in specs:
|
||||
out = []
|
||||
args = event["args_split"].copy()
|
||||
kwargs = {"channel": channel}
|
||||
failed = False
|
||||
|
||||
for spec_argument in spec_arguments:
|
||||
argument_type_multi = len(set(
|
||||
t.type for t in spec_argument.types)) > 1
|
||||
|
|
Loading…
Reference in a new issue