diff --git a/modules/git_webhooks/github.py b/modules/git_webhooks/github.py index fbfe15a7..21b672ce 100644 --- a/modules/git_webhooks/github.py +++ b/modules/git_webhooks/github.py @@ -272,7 +272,7 @@ class GitHub(object): colored_branch = utils.irc.color(branch, colors.COLOR_BRANCH) sender = utils.irc.bold(data["sender"]["login"]) - author = utils.irc.bold(data["pull_request"]["user"]["login"]) + author = utils.irc.bold(data["sender"]["login"]) number = utils.irc.color("#%s" % data["pull_request"]["number"], colors.COLOR_ID) identifier = "%s by %s" % (number, author)