aboutsummaryrefslogtreecommitdiff
path: root/modules/github/module.py
diff options
context:
space:
mode:
Diffstat (limited to 'modules/github/module.py')
-rw-r--r--modules/github/module.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/github/module.py b/modules/github/module.py
index 5fed25dd..3edef4e8 100644
--- a/modules/github/module.py
+++ b/modules/github/module.py
@@ -337,8 +337,7 @@ class Module(ModuleManager.BaseModule):
for commit in data["commits"]:
id = self._short_hash(commit["id"])
message = commit["message"].split("\n")[0].strip()
- author = commit["author"]["name"] or commit["author"]["login"]
- author = utils.irc.bold(author)
+ author = utils.irc.bold(commit["author"]["login"])
url = self._short_url(COMMIT_URL % (full_name, id))
added = self._added(len(commit["added"]))