From 34d6f6fa544ca90140e138c557fa651c74d76d4a Mon Sep 17 00:00:00 2001 From: Cerapter Date: Sun, 2 Sep 2018 10:49:55 +0200 Subject: [PATCH] Stopped people from pretending to say a modchat message. --- server/aoprotocol.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/aoprotocol.py b/server/aoprotocol.py index 757eaa6..5dbb192 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('G'): + if self.client.name.startswith(self.server.config['hostname']) or self.client.name.startswith('G') or self.client.name.startswith('M'): self.client.send_host_message('That name is reserved!') return if args[1].startswith('/'):