diff options
| author | 2020-03-08 14:14:00 +0000 | |
|---|---|---|
| committer | 2020-03-08 14:14:00 +0000 | |
| commit | 49d9cbdb87a40cf58f1997914ca1b5033fcc13b3 (patch) | |
| tree | f89b4b6d5acc0ec88f6e8b5e7445454c04797d93 /modules/title.py | |
| parent | add space between command and usage string (diff) | |
| signature | ||
exports.get_one() -> exports.get()
Diffstat (limited to 'modules/title.py')
| -rw-r--r-- | modules/title.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/title.py b/modules/title.py index df05546e..526a8131 100644 --- a/modules/title.py +++ b/modules/title.py @@ -71,7 +71,7 @@ class Module(ModuleManager.BaseModule): return -2, title if channel.get_setting("title-shorten", False): - short_url = self.exports.get_one("shorturl")(server, url, + short_url = self.exports.get("shorturl")(server, url, context=channel) return page.code, "%s - %s" % (title, short_url) return page.code, title |
