aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCerapter <cerap@protonmail.com>2018-09-18 21:58:39 +0200
committerCerapter <cerap@protonmail.com>2018-09-18 21:58:39 +0200
commitee5b4b92de11dafbabb2f9b7c695d174e2a13694 (patch)
tree6a886a29fd68f7f42325b626f49fe92a6f4da3a7
parentc68c9daf27294698c6b4ae249f1ba7d817f10f89 (diff)
Fixed a typo.
-rw-r--r--server/aoprotocol.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/aoprotocol.py b/server/aoprotocol.py
index bd022a4e..1c6146e3 100644
--- a/server/aoprotocol.py
+++ b/server/aoprotocol.py
@@ -611,7 +611,7 @@ class AOProtocol(asyncio.Protocol):
if not self.client.is_dj:
self.client.send_host_message('You were blockdj\'d by a moderator.')
return
- if area.cannot_ic_interact(self.client):
+ if self.client.area.cannot_ic_interact(self.client):
self.client.send_host_message("You are not on the area's invite list, and thus, you cannot change music!")
return
if not self.validate_net_cmd(args, self.ArgType.STR, self.ArgType.INT) and not self.validate_net_cmd(args, self.ArgType.STR, self.ArgType.INT, self.ArgType.STR):