We no longer have to strip the first two characters of options. wrap()

handles this for us.
This commit is contained in:
James Vega 2004-11-17 22:13:52 +00:00
parent fda6b572a7
commit 8b0d0a9aca

View File

@ -300,7 +300,7 @@ class Google(callbacks.PrivmsgCommandAndRegexp):
elif option == 'similar':
kwargs['filter'] = False
else:
kwargs[option[2:]] = argument
kwargs[option] = argument
try:
data = search(self.log, text, **kwargs)
except google.NoLicenseKey, e: