mirror of
				https://github.com/luanti-org/luanti.git
				synced 2025-11-04 01:05:48 +01: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
 | 
			
		||||
#    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
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user