Fix some typos I thought I had already committed

This commit is contained in:
James Vega 2003-10-28 14:29:06 +00:00
parent 9825356e95
commit 8ae59844bf

View File

@ -329,7 +329,7 @@ class Google(callbacks.PrivmsgCommandAndRegexp):
_ggGroup = re.compile(r'Newsgroups: <a[^>]+>([^<]+)</a>')
def googleGroups(self, irc, msg, match):
r"http://groups.google.com/[^\s]+"
if not self.snarfer['group']:
if not self.snarfers['groups']:
return
request = urllib2.Request(match.group(0), headers=\
{'User-agent': 'Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 4.0)'})