diff options
| author | 2019-02-28 17:10:31 +0000 | |
|---|---|---|
| committer | 2019-02-28 17:10:31 +0000 | |
| commit | 02c7c4503cbc4392545804c08bfff2a198976c72 (patch) | |
| tree | c38c7d1faf05a70f5baff65aa282dd68b3139fe8 /modules | |
| parent | Make some colours consts per type of content (github) (diff) | |
| signature | ||
Make repo name grey (github)
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/github/__init__.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/github/__init__.py b/modules/github/__init__.py index 99370056..ff97d174 100644 --- a/modules/github/__init__.py +++ b/modules/github/__init__.py @@ -369,7 +369,9 @@ class Module(ModuleManager.BaseModule): for server, channel in targets: for output in outputs: source = full_name or organisation - output = "(%s) %s" % (source, output) + output = "(%s) %s" % ( + utils.irc.color(source, COLOR_REPO), output) + if channel.get_setting("github-prevent-highlight", False): output = self._prevent_highlight(channel, output) |
