mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-30 14:59:34 +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
|
return
|
||||||
if data.results:
|
if data.results:
|
||||||
url = data.results[0].URL
|
url = data.results[0].URL
|
||||||
irc.reply(url)
|
irc.reply(url, prefixName=False)
|
||||||
else:
|
|
||||||
irc.reply('No results for "%s"' % searchString)
|
|
||||||
googleSnarfer = privmsgs.urlSnarfer(googleSnarfer)
|
googleSnarfer = privmsgs.urlSnarfer(googleSnarfer)
|
||||||
|
|
||||||
_ggThread = re.compile(r'<br>Subject: ([^<]+)<br>')
|
_ggThread = re.compile(r'<br>Subject: ([^<]+)<br>')
|
||||||
|
Loading…
Reference in New Issue
Block a user