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
1 changed files with 1 additions and 3 deletions

View File

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