mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-02 17:29:22 +01:00
Misc.last --with matches case-insensitively
This commit is contained in:
parent
57c2f263f9
commit
eb1dac0d60
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user