use fnmatchcase( so the strings are not case-"normalised"
This commit is contained in:
parent
c607a0e67c
commit
e752b60f6c
1 changed files with 1 additions and 1 deletions
|
@ -305,4 +305,4 @@ class MessageTag(object):
|
||||||
return tags[key[0]] if key else None
|
return tags[key[0]] if key else None
|
||||||
|
|
||||||
def hostmask_match(hostmask: str, pattern: str) -> bool:
|
def hostmask_match(hostmask: str, pattern: str) -> bool:
|
||||||
return fnmatch.fnmatch(hostmask, pattern)
|
return fnmatch.fnmatchcase(hostmask, pattern)
|
||||||
|
|
Loading…
Reference in a new issue