From 63878e75cdcbf06bfd90de1c2cd0a10ebc06579d Mon Sep 17 00:00:00 2001 From: jesopo Date: Wed, 3 Jun 2020 21:38:27 +0100 Subject: [PATCH] :Optional, not =Optional --- ircrobots/matching/params.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ircrobots/matching/params.py b/ircrobots/matching/params.py index 5ed65ad..c038db4 100644 --- a/ircrobots/matching/params.py +++ b/ircrobots/matching/params.py @@ -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):