From c563559b296c50babb5545456b10491a85deaf4b Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Thu, 19 Feb 2004 07:18:33 +0000 Subject: [PATCH] googleSnarfer shouldn't prefixName, and shouldn't come back with failuers. --- plugins/Google.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/plugins/Google.py b/plugins/Google.py index 1525319eb..3f39c3051 100644 --- a/plugins/Google.py +++ b/plugins/Google.py @@ -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'
Subject: ([^<]+)
')