Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
La Quadrature du Net
rpteam
wantzel
Commits
22404073
Commit
22404073
authored
May 21, 2015
by
Mindiell
Browse files
Does not show webpage title for 'twitter.com'
parent
faff181c
Changes
1
Hide whitespace changes
Inline
Side-by-side
wantzel.py
View file @
22404073
...
...
@@ -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
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment