aboutsummaryrefslogtreecommitdiff
path: root/modules/github/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'modules/github/__init__.py')
-rw-r--r--modules/github/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/github/__init__.py b/modules/github/__init__.py
index 88ba324d..7459e25b 100644
--- a/modules/github/__init__.py
+++ b/modules/github/__init__.py
@@ -420,7 +420,7 @@ class Module(ModuleManager.BaseModule):
def commit_comment(self, full_name, data):
action = data["action"]
- commit = data["commit_id"][:8]
+ commit = data["comment"]["commit_id"][:8]
commenter = utils.irc.bold(data["comment"]["user"]["login"])
url = self._short_url(data["comment"]["html_url"])
return ["[commit/%s] %s commented" % (commit, commenter, action)]