Forgot an enumerate, man, that sucked.

This commit is contained in:
Jeremy Fincher 2004-02-12 14:12:28 +00:00
parent 3902e9f48f
commit af60780619

View File

@ -203,7 +203,7 @@ class Google(callbacks.PrivmsgCommandAndRegexp):
kwargs['filter'] = False kwargs['filter'] = False
else: else:
kwargs[option[2:]] = argument kwargs[option[2:]] = argument
for (i, arg) in args: for (i, arg) in enumerate(args):
if len(arg.split()) > 1: if len(arg.split()) > 1:
args[i] = repr(arg) args[i] = repr(arg)
try: try: