Add a server-sided way to remove color codes from incoming chat messages (#5948)
authorred-001 <red-001@outlook.ie>
Sat, 10 Jun 2017 11:49:44 +0000 (12:49 +0100)
committerSmallJoker <mk939@ymail.com>
Sun, 3 Jun 2018 15:31:59 +0000 (17:31 +0200)
commit0664b5f77226b7a2308e85898295378e04158923
tree4078e94042837335f43f1b56387d553cc1b95de9
parent14b039f0b4c8bddc1d4760dc7277f72392385d7d
Add a server-sided way to remove color codes from incoming chat messages (#5948)

These code be generated by CSM, a modded client or just copy and pasted by the player.

Changes
- Update configuration example and setting translation file.
- Remove colour codes before logging chat.
- Add setting to remove colour codes before processing the chat.
builtin/settingtypes.txt
minetest.conf.example
src/defaultsettings.cpp
src/server.cpp
src/server.h
src/settings_translation_file.cpp