aboutsummaryrefslogtreecommitdiff
path: root/modules/github.py
diff options
context:
space:
mode:
authorGravatar jesopo2019-01-18 12:13:01 +0000
committerGravatar jesopo2019-01-18 12:13:01 +0000
commitb7864ffb4152fc0a7ce22623bf115cb4db7c9f88 (patch)
tree88e0f5e5eebe62595ea13c2f5a8a043afc38f163 /modules/github.py
parentMove github hooks away from !channelset in to their own !ghwebhook command (diff)
signature
Typo, 'all_hook' -> 'all_hooks' (github.py)
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")