diff options
| author | 2020-02-17 11:39:09 +0000 | |
|---|---|---|
| committer | 2020-02-17 11:39:09 +0000 | |
| commit | df2240204dc4077f849170a6dd7a14f7306b682f (patch) | |
| tree | a333359757d3163c2c64a577797f7b864eaa0d86 /modules/git_webhooks | |
| parent | support wildcards/masks for !ban, !unban and !kickban (diff) | |
| signature | ||
github PR events should use `["sender]["login"]`, not PR author
Diffstat (limited to 'modules/git_webhooks')
| -rw-r--r-- | modules/git_webhooks/github.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |
