:Optional, not =Optional

This commit is contained in:
jesopo 2020-06-03 21:38:27 +01:00
parent 9b9ce11202
commit 63878e75cd

View file

@ -116,7 +116,7 @@ class Nick(IMatchResponseHostmask):
class Mask(IMatchResponseHostmask):
def __init__(self, mask: str):
self._mask = mask
self._compiled = Optional[Glob]
self._compiled: Optional[Glob]
def __repr__(self) -> str:
return f"Mask({self._mask!r})"
def match(self, server: IServer, hostmask: Hostmask):