diff --git a/heisenbridge/__main__.py b/heisenbridge/__main__.py index d59febd..63dce32 100644 --- a/heisenbridge/__main__.py +++ b/heisenbridge/__main__.py @@ -127,7 +127,7 @@ def is_local(self, mxid: str): return mxid.endswith(":" + self.server_name) def strip_nick(self, nick: str) -> Tuple[str, str]: - m = re.match(r"^([~&@%\+]?)(.+)$", nick) + m = re.match(r"^([~&@%\+!]?)(.+)$", nick) if m: return (m.group(2), (m.group(1) if len(m.group(1)) > 0 else None)) else: