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)