diff options
| author | Cerapter <cerap@protonmail.com> | 2018-09-02 10:49:55 +0200 |
|---|---|---|
| committer | Cerapter <cerap@protonmail.com> | 2018-09-02 10:49:55 +0200 |
| commit | 34d6f6fa544ca90140e138c557fa651c74d76d4a (patch) | |
| tree | 55b59fb62fca9efdc8840c1349fc041a05ee4f0d | |
| parent | a21dd24380a128bfdfa8ebca95d891aca94e1ef4 (diff) | |
Stopped people from pretending to say a modchat message.
| -rw-r--r-- | server/aoprotocol.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/aoprotocol.py b/server/aoprotocol.py index 757eaa69..5dbb192e 100644 --- a/server/aoprotocol.py +++ b/server/aoprotocol.py @@ -445,7 +445,7 @@ class AOProtocol(asyncio.Protocol): if unicodedata.category(c) == 'Cf': self.client.send_host_message('You cannot use format characters in your name!') return - if self.client.name.startswith(self.server.config['hostname']) or self.client.name.startswith('<dollar>G'): + if self.client.name.startswith(self.server.config['hostname']) or self.client.name.startswith('<dollar>G') or self.client.name.startswith('<dollar>M'): self.client.send_host_message('That name is reserved!') return if args[1].startswith('/'): |
