Fixed bug in googlesite.

This commit is contained in:
Jeremy Fincher 2003-04-29 15:34:27 +00:00
parent b1e95f8b64
commit d7bdb77538
1 changed files with 2 additions and 1 deletions

View File

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