Misc.last --with matches case-insensitively

This commit is contained in:
James Vega 2004-08-16 17:34:16 +00:00
parent 57c2f263f9
commit eb1dac0d60
1 changed files with 1 additions and 1 deletions

View File

@ -419,7 +419,7 @@ class Misc(callbacks.Privmsg):
predicates['in'] = f
elif option == '--with':
def f(m, arg=arg):
return arg in m.args[1]
return arg.lower() in m.args[1].lower()
predicates.setdefault('with', []).append(f)
elif option == '--regexp':
try: