mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-30 06:49:24 +01:00
Ugh, stupid bug.
This commit is contained in:
parent
fcb0403711
commit
59a803d3b2
@ -284,7 +284,7 @@ class Http(callbacks.Privmsg):
|
|||||||
s = utils.htmlToText(html, tagReplace='').strip('\xa0 ')
|
s = utils.htmlToText(html, tagReplace='').strip('\xa0 ')
|
||||||
irc.reply(msg, s[9:]) # Snip off "the site"
|
irc.reply(msg, s[9:]) # Snip off "the site"
|
||||||
elif html.find('We could not get any results') != -1:
|
elif html.find('We could not get any results') != -1:
|
||||||
irc.reply('No results found for %s' % hostname)
|
irc.reply(msg, 'No results found for %s' % hostname)
|
||||||
else:
|
else:
|
||||||
irc.error(msg, 'The format of the was odd.')
|
irc.error(msg, 'The format of the was odd.')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user