From 224040738243af4b3c8ac74db3150f94cb87793c Mon Sep 17 00:00:00 2001 From: Mindiell Date: Thu, 21 May 2015 13:14:50 +0200 Subject: [PATCH] Does not show webpage title for 'twitter.com' --- wantzel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wantzel.py b/wantzel.py index a02a3cb..42d7fa4 100644 --- a/wantzel.py +++ b/wantzel.py @@ -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: -- GitLab