diff options
| author | 2019-08-05 10:48:16 +0100 | |
|---|---|---|
| committer | 2019-08-05 10:48:16 +0100 | |
| commit | 73fd3f37cee0a292b540e8d602fba09697009655 (patch) | |
| tree | 2e9d32c7f66b4e0bc8d737499bc41508d51a241c /modules/title.py | |
| parent | 'and' -> 'in'. typo (diff) | |
| signature | ||
Allow url shorteners to be specified per-channel
Diffstat (limited to 'modules/title.py')
| -rw-r--r-- | modules/title.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/title.py b/modules/title.py index b585e687..703ea476 100644 --- a/modules/title.py +++ b/modules/title.py @@ -37,7 +37,8 @@ class Module(ModuleManager.BaseModule): "\r", "").replace(" ", " ").strip() if channel.get_setting("title-shorten", False): - short_url = self.exports.get_one("shorturl")(server, url) + short_url = self.exports.get_one("shorturl")(server, url, + context=channel) return "%s - %s" % (title, short_url) return title else: |
