diff --git a/plugins/Web/plugin.py b/plugins/Web/plugin.py index 29810bdb0..1117d0208 100644 --- a/plugins/Web/plugin.py +++ b/plugins/Web/plugin.py @@ -158,7 +158,7 @@ class Web(callbacks.PluginRegexp): parser.close() title = parser.title if title: - title = utils.web.htmlToText(parser.title.strip()) + title = utils.web.htmlToText(title.strip()) elif raiseErrors: if len(text) < size: irc.reply(_('That URL appears to have no HTML title.'))