fix: nick matching wasn't really case insensible

This commit is contained in:
Elián Hanisch 2010-03-15 23:28:09 -03:00
parent 287038b1e3
commit e087d47fc1

View File

@ -97,7 +97,7 @@ def nickMatch(nick, pattern):
pattern = [pattern]
nick = nick.lower()
for s in pattern:
if fnmatch(nick, s):
if fnmatch(nick, s.lower()):
return True
return False