Commit 22404073 authored by Mindiell's avatar Mindiell
Browse files

Does not show webpage title for ''

parent faff181c
......@@ -164,7 +164,7 @@ class Wantzel(object):
print("Message received: %s %s %s" % (user, channel, msg))
# Whatever is done, get the title of an existing url in a message
title = ""
if "http" in msg:
if "http" in msg and "" not in msg:
title, website = get_title(msg)
# Never answer to botself
if user!=config.nickname:
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment