aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCerapter <cerap@protonmail.com>2018-09-02 10:49:55 +0200
committerCerapter <cerap@protonmail.com>2018-09-02 10:49:55 +0200
commit34d6f6fa544ca90140e138c557fa651c74d76d4a (patch)
tree55b59fb62fca9efdc8840c1349fc041a05ee4f0d
parenta21dd24380a128bfdfa8ebca95d891aca94e1ef4 (diff)
Stopped people from pretending to say a modchat message.
-rw-r--r--server/aoprotocol.py2
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('/'):