diff options
| author | 2019-04-24 15:37:14 +0100 | |
|---|---|---|
| committer | 2019-04-24 15:37:14 +0100 | |
| commit | cc9edc6adb0c9b537889ecfaed47450af8b37675 (patch) | |
| tree | 55a16ba8d31e19f04456ad8cd4277d8fb438888f /modules | |
| parent | Aloow !shorten to find the last posted url and shorten it (diff) | |
| signature | ||
`link` -> `url`
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/isgd.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/isgd.py b/modules/isgd.py index b4a918fd..b97af5b1 100644 --- a/modules/isgd.py +++ b/modules/isgd.py @@ -34,7 +34,7 @@ class Module(ModuleManager.BaseModule): if not url: raise utils.EventError("No URL provided/found.") - if link: + if url: event["stdout"].write("Shortened URL: %s" % self._shortlink(url)) else: event["stderr"].write("Unable to shorten that URL.") |
