diff --git a/syncplay/server.py b/syncplay/server.py index 3e3967a..21a09ad 100644 --- a/syncplay/server.py +++ b/syncplay/server.py @@ -27,7 +27,7 @@ class SyncFactory(Factory): self._motdFilePath = motdFilePath self.disableReady = disableReady self.disableChat = disableChat - self.maxChatMessageLength = maxChatMessageLength # if maxChatMessageLength is not None else constants.MAX_CHAT_MESSAGE_LENGTH + self.maxChatMessageLength = maxChatMessageLength if maxChatMessageLength is not None else constants.MAX_CHAT_MESSAGE_LENGTH if not isolateRooms: self._roomManager = RoomManager() else: