aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/github.py4
1 files 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)]