mirror of
https://github.com/Syncplay/syncplay
synced 2024-12-14 10:55:03 +00:00
Fix error when server run without --max-chat-message-length (#177) Part 2
This commit is contained in:
parent
d7dd563394
commit
9dfd8ea850
@ -27,7 +27,7 @@ class SyncFactory(Factory):
|
|||||||
self._motdFilePath = motdFilePath
|
self._motdFilePath = motdFilePath
|
||||||
self.disableReady = disableReady
|
self.disableReady = disableReady
|
||||||
self.disableChat = disableChat
|
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:
|
if not isolateRooms:
|
||||||
self._roomManager = RoomManager()
|
self._roomManager = RoomManager()
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user