Skip to content

Commit

Permalink
Include ! in the mode list
Browse files Browse the repository at this point in the history
Reported and tested by @gsora, thanks!
  • Loading branch information
hifi committed Jul 5, 2023
1 parent ba30389 commit 881dd45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion heisenbridge/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 881dd45

Please sign in to comment.