Commit 22404073 authored by Mindiell's avatar Mindiell

Does not show webpage title for 'twitter.com'

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 "twitter.com" not in msg:
title, website = get_title(msg)
# Never answer to botself
if user!=config.nickname:
......
Markdown is supported
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