Capitalise 'PR' in issue_comment events for pull requests (github)
This commit is contained in:
parent
1e9772e578
commit
43eda14267
1 changed files with 1 additions and 1 deletions
|
@ -545,7 +545,7 @@ class Module(ModuleManager.BaseModule):
|
||||||
number = utils.irc.color("#%s" % data["issue"]["number"], COLOR_ID)
|
number = utils.irc.color("#%s" % data["issue"]["number"], COLOR_ID)
|
||||||
action = data["action"]
|
action = data["action"]
|
||||||
issue_title = data["issue"]["title"]
|
issue_title = data["issue"]["title"]
|
||||||
type = "pr" if "pull_request" in data["issue"] else "issue"
|
type = "PR" if "pull_request" in data["issue"] else "issue"
|
||||||
commenter = utils.irc.bold(data["sender"]["login"])
|
commenter = utils.irc.bold(data["sender"]["login"])
|
||||||
url = self._short_url(data["comment"]["html_url"])
|
url = self._short_url(data["comment"]["html_url"])
|
||||||
return ["[%s] %s %s on %s: %s - %s" %
|
return ["[%s] %s %s on %s: %s - %s" %
|
||||||
|
|
Loading…
Reference in a new issue