github PR events should use ["sender]["login"]
, not PR author
This commit is contained in:
parent
c9eff9edb9
commit
df2240204d
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue