From 34da56eea66b015c9ed3debc694821748e7e3ec9 Mon Sep 17 00:00:00 2001 From: Cerapter Date: Fri, 24 Aug 2018 19:14:22 +0200 Subject: [PATCH] Blankposting is allowed again if an area loses its CM somehow. --- server/area_manager.py | 1 + server/commands.py | 1 + 2 files changed, 2 insertions(+) diff --git a/server/area_manager.py b/server/area_manager.py index 372195b..15dddd6 100644 --- a/server/area_manager.py +++ b/server/area_manager.py @@ -81,6 +81,7 @@ class AreaManager: def unlock(self): self.is_locked = False + self.blankposting_allowed = True self.invite_list = {} self.send_host_message('This area is open now.') diff --git a/server/commands.py b/server/commands.py index 6d34338..7c212ba 100644 --- a/server/commands.py +++ b/server/commands.py @@ -643,6 +643,7 @@ def ooc_cmd_uncm(client, arg): if client.is_cm: client.is_cm = False client.area.owned = False + client.area.blankposting_allowed = True if client.area.is_locked: client.area.unlock() client.area.send_host_message('{} is no longer CM in this area.'.format(client.get_char_name()))