From ee5b4b92de11dafbabb2f9b7c695d174e2a13694 Mon Sep 17 00:00:00 2001 From: Cerapter Date: Tue, 18 Sep 2018 21:58:39 +0200 Subject: [PATCH] Fixed a typo. --- server/aoprotocol.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/aoprotocol.py b/server/aoprotocol.py index bd022a4..1c6146e 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):