aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorGravatar jesopo2019-04-24 15:37:14 +0100
committerGravatar jesopo2019-04-24 15:37:14 +0100
commitcc9edc6adb0c9b537889ecfaed47450af8b37675 (patch)
tree55a16ba8d31e19f04456ad8cd4277d8fb438888f /modules
parentAloow !shorten to find the last posted url and shorten it (diff)
signature
`link` -> `url`
Diffstat (limited to 'modules')
-rw-r--r--modules/isgd.py2
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.")