still show url when shortening is turned off
This commit is contained in:
parent
4cce0bb54e
commit
ae549575e4
1 changed files with 5 additions and 4 deletions
|
@ -124,10 +124,11 @@ class Module(ModuleManager.BaseModule):
|
||||||
output = "(%s) %s" % (
|
output = "(%s) %s" % (
|
||||||
utils.irc.color(source, colors.COLOR_REPO), output)
|
utils.irc.color(source, colors.COLOR_REPO), output)
|
||||||
|
|
||||||
if url and channel.get_setting("git-shorten-urls", False):
|
if url:
|
||||||
shorturl = self.exports.get_one("shorturl")(server, url,
|
if channel.get_setting("git-shorten-urls", False):
|
||||||
context=channel) or url
|
url = self.exports.get_one("shorturl")(server, url,
|
||||||
output = "%s - %s" % (output, shorturl)
|
context=channel) or url
|
||||||
|
output = "%s - %s" % (output, url)
|
||||||
|
|
||||||
if channel.get_setting("git-prevent-highlight", False):
|
if channel.get_setting("git-prevent-highlight", False):
|
||||||
output = self._prevent_highlight(server, channel,
|
output = self._prevent_highlight(server, channel,
|
||||||
|
|
Loading…
Reference in a new issue