aboutsummaryrefslogtreecommitdiff
path: root/modules/github.py
diff options
context:
space:
mode:
Diffstat (limited to 'modules/github.py')
-rw-r--r--modules/github.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/github.py b/modules/github.py
index 3fd06627..56a9d06a 100644
--- a/modules/github.py
+++ b/modules/github.py
@@ -113,8 +113,9 @@ class Module(ModuleManager.BaseModule):
def push(self, event, full_name, data):
outputs = []
- branch = utils.irc.color(data["ref"].split("/", 2)[2],
- utils.consts.BLUE)
+ branch = data["ref"].split("/", 2)[2]
+ branch = utils.irc.bold(utils.irc.color(branch, utils.consts.BLUE))
+
if len(data["commits"]) <= 3:
for commit in data["commits"]:
id = self._short_hash(commit["id"])