mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 05:09:23 +01:00
googleSnarfer shouldn't prefixName, and shouldn't come back with failuers.
This commit is contained in:
parent
fc93bb4da5
commit
c563559b29
@ -320,9 +320,7 @@ class Google(callbacks.PrivmsgCommandAndRegexp):
|
||||
return
|
||||
if data.results:
|
||||
url = data.results[0].URL
|
||||
irc.reply(url)
|
||||
else:
|
||||
irc.reply('No results for "%s"' % searchString)
|
||||
irc.reply(url, prefixName=False)
|
||||
googleSnarfer = privmsgs.urlSnarfer(googleSnarfer)
|
||||
|
||||
_ggThread = re.compile(r'<br>Subject: ([^<]+)<br>')
|
||||
|
Loading…
Reference in New Issue
Block a user