diff --git a/src/chat/config/server.toml b/src/chat/config/server.toml index 869553d..1550f7a 100644 --- a/src/chat/config/server.toml +++ b/src/chat/config/server.toml @@ -22,4 +22,6 @@ communication_time = 300 # Seconds waiting for client message before stopping co max_username_length = 20 # Maximal username length min_username_length = 4 # Minimal username length -max_username_tries = 3 # Times asking client for username (if client tries to use invalid username) \ No newline at end of file +max_username_tries = 3 # Times asking client for username (if client tries to use invalid username) + +max_message_length = 100 # Maximal message length \ No newline at end of file