linx: should return when no url provided

master
mutantmonkey 2011-12-12 02:11:28 -05:00
parent 42c37857fa
commit e14f178898
1 changed files with 1 additions and 0 deletions

View File

@ -14,6 +14,7 @@ def linx(phenny, input):
url = input.group(2) url = input.group(2)
if not url: if not url:
phenny.reply("No URL provided. CAN I HAS?") phenny.reply("No URL provided. CAN I HAS?")
return
try: try:
req = web.post("http://linx.li/vtluug", {'url': url}) req = web.post("http://linx.li/vtluug", {'url': url})