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:
@@ -1078,7 +1078,7 @@ csm_restriction_noderange (Client-side node lookup range restriction) int 0 0 42
|
|||||||
|
|
||||||
# Remove color codes from incoming chat messages
|
# Remove color codes from incoming chat messages
|
||||||
# Use this to stop players from being able to use color in their 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.
|
# 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
|
chat_message_max_size (Chat message max length) int 500 10 65535
|
||||||
|
@@ -422,7 +422,7 @@ void set_default_settings()
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Server
|
// Server
|
||||||
settings->setDefault("strip_color_codes", "false");
|
settings->setDefault("strip_color_codes", "true");
|
||||||
#ifndef NDEBUG
|
#ifndef NDEBUG
|
||||||
settings->setDefault("random_mod_load_order", "true");
|
settings->setDefault("random_mod_load_order", "true");
|
||||||
#else
|
#else
|
||||||
|
Reference in New Issue
Block a user