From ded49fe92ac835bb44e076797eab3248c6378720 Mon Sep 17 00:00:00 2001 From: jesopo Date: Mon, 19 Nov 2018 21:34:36 +0000 Subject: [PATCH] But blue-ification on branch/tag name, not on "branch"/"tag" --- modules/github.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/github.py b/modules/github.py index 5078939e..d79e9f31 100644 --- a/modules/github.py +++ b/modules/github.py @@ -212,8 +212,8 @@ class Module(ModuleManager.BaseModule): url)] def create(self, event, full_name, data): - ref = data["ref"] - type = utils.irc.color(data["ref_type"], utils.consts.BLUE) + ref = utils.irc.color(data["ref"], utils.consts.BLUE) + type = data["ref_type"] sender = utils.irc.bold(data["sender"]["login"]) url = CREATE_URL % (full_name, ref) return ["%s created a %s: %s - %s" % (sender, type, ref, url)]