googleSnarfer shouldn't prefixName, and shouldn't come back with failuers.

This commit is contained in:
Jeremy Fincher 2004-02-19 07:18:33 +00:00
parent fc93bb4da5
commit c563559b29

View File

@ -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>')