1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-12 08:05:18 +02:00

Enable strip_color_codes by default

This commit is contained in:
rubenwardy
2021-12-09 10:09:25 +00:00
committed by sfan5
parent 76a8d8b0e2
commit 29476f406b
2 changed files with 2 additions and 2 deletions

View File

@@ -1078,7 +1078,7 @@ csm_restriction_noderange (Client-side node lookup range restriction) int 0 0 42
# Remove color codes from incoming chat messages
# Use this to stop players from being able to use color in their messages
strip_color_codes (Strip color codes) bool false
strip_color_codes (Strip color codes) bool true
# Set the maximum length of a chat message (in characters) sent by clients.
chat_message_max_size (Chat message max length) int 500 10 65535

View File

@@ -422,7 +422,7 @@ void set_default_settings()
#endif
// Server
settings->setDefault("strip_color_codes", "false");
settings->setDefault("strip_color_codes", "true");
#ifndef NDEBUG
settings->setDefault("random_mod_load_order", "true");
#else