aboutsummaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/aoprotocol.py3
1 files changed, 3 insertions, 0 deletions
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#<type:string>#%
"""
+ 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