aboutsummaryrefslogtreecommitdiff
path: root/modules/github.py
diff options
context:
space:
mode:
Diffstat (limited to 'modules/github.py')
-rw-r--r--modules/github.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/github.py b/modules/github.py
index 8e84011e..4662fa57 100644
--- a/modules/github.py
+++ b/modules/github.py
@@ -188,7 +188,7 @@ class Module(ModuleManager.BaseModule):
else:
new_events = [e.lower() for e in event["args_split"][2:]]
all_hooks[existing_hook]["events"] = new_events
- event["target"].set_setting("github-hooks", all_hook)
+ event["target"].set_setting("github-hooks", all_hooks)
event["stdout"].write("Updated events for hook %s" % hook)
@utils.hook("api.post.github")