mirror of
https://github.com/progval/Limnoria.git
synced 2025-04-30 15:31:09 -05: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…
x
Reference in New Issue
Block a user