Skip to content

Commit

Permalink
Fix error when server run without --max-chat-message-length (#177) Pa…
Browse files Browse the repository at this point in the history
…rt 2
  • Loading branch information
Et0h authored and albertosottile committed Feb 12, 2018
1 parent 693a3d9 commit 83055ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion syncplay/server.py
Expand Up @@ -27,7 +27,7 @@ def __init__(self, password='', motdFilePath=None, isolateRooms=False, salt=None
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:
Expand Down

0 comments on commit 83055ce

Please sign in to comment.