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:
jesopo 2019-01-22 20:52:57 +00:00
parent 815eea69bd
commit 8024e53a68

View file

@ -200,7 +200,7 @@ class Module(ModuleManager.BaseModule):
if len(event["args_split"]) < 3:
event["stdout"].write("Events for hook %s: %s" %
(hook, ", ".join(all_hooks[existing_hook]["events"])))
(hook, " ".join(all_hooks[existing_hook]["events"])))
else:
new_events = [e.lower() for e in event["args_split"][2:]]
all_hooks[existing_hook]["events"] = new_events