Don't show current event filters comma-separated as they're not comma separated
when we set them and that's a little confusing (github)
This commit is contained in:
parent
815eea69bd
commit
8024e53a68
1 changed files with 1 additions and 1 deletions
|
@ -200,7 +200,7 @@ class Module(ModuleManager.BaseModule):
|
||||||
|
|
||||||
if len(event["args_split"]) < 3:
|
if len(event["args_split"]) < 3:
|
||||||
event["stdout"].write("Events for hook %s: %s" %
|
event["stdout"].write("Events for hook %s: %s" %
|
||||||
(hook, ", ".join(all_hooks[existing_hook]["events"])))
|
(hook, " ".join(all_hooks[existing_hook]["events"])))
|
||||||
else:
|
else:
|
||||||
new_events = [e.lower() for e in event["args_split"][2:]]
|
new_events = [e.lower() for e in event["args_split"][2:]]
|
||||||
all_hooks[existing_hook]["events"] = new_events
|
all_hooks[existing_hook]["events"] = new_events
|
||||||
|
|
Loading…
Reference in a new issue