From d7bdb775385d7f8bb4458dc20e2854d5243a1794 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Tue, 29 Apr 2003 15:34:27 +0000 Subject: [PATCH] Fixed bug in googlesite. --- plugins/Google.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/Google.py b/plugins/Google.py index 19e1b9d58..62d3e4f9f 100644 --- a/plugins/Google.py +++ b/plugins/Google.py @@ -134,7 +134,8 @@ class GooglePrivmsg(callbacks.Privmsg): Searches Google on a specific site. """ - searchString = 'site:%s %s' % privmsgs.getArgs(args, needed=2) + (site, s) = privmsgs.getArgs(args, needed=2) + searchString = 'site:%s %s' % (site, s) data = google.doGoogleSearch(searchString, language='lang_en', safeSearch=1)