diff options
| author | 2018-11-19 21:34:36 +0000 | |
|---|---|---|
| committer | 2018-11-19 21:34:36 +0000 | |
| commit | ded49fe92ac835bb44e076797eab3248c6378720 (patch) | |
| tree | 8e84323d480970bc8a1a14e73e2f6fb1bd192ce2 /modules/github.py | |
| parent | Blue-ify tag/branch for `create` event (diff) | |
| signature | ||
But blue-ification on branch/tag name, not on "branch"/"tag"
Diffstat (limited to 'modules/github.py')
| -rw-r--r-- | modules/github.py | 4 |
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)] |
