Make repo name grey (github)

This commit is contained in:
jesopo 2019-02-28 17:10:31 +00:00
parent 58b1e41b5d
commit 02c7c4503c

View file

@ -369,7 +369,9 @@ class Module(ModuleManager.BaseModule):
for server, channel in targets: for server, channel in targets:
for output in outputs: for output in outputs:
source = full_name or organisation 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): if channel.get_setting("github-prevent-highlight", False):
output = self._prevent_highlight(channel, output) output = self._prevent_highlight(channel, output)