From 8c859398f1b1308633584103c334bb103bf6cf2c Mon Sep 17 00:00:00 2001 From: Cerapter Date: Wed, 15 Aug 2018 19:50:41 +0200 Subject: [PATCH] Blocking shouts now blocks the testimony buttons too. --- server/aoprotocol.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/server/aoprotocol.py b/server/aoprotocol.py index 75ee824..912c0e7 100644 --- a/server/aoprotocol.py +++ b/server/aoprotocol.py @@ -513,6 +513,9 @@ class AOProtocol(asyncio.Protocol): RT##% """ + if not self.client.area.shouts_allowed: + self.client.send_host_message("You cannot use the testimony buttons here!") + return if self.client.is_muted: # Checks to see if the client has been muted by a mod self.client.send_host_message("You have been muted by a moderator") return