aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.")