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)
committerLoïc Blot <nerzhul@users.noreply.github.com>
Sat, 10 Jun 2017 11:49:44 +0000 (13:49 +0200)
commit25ae0739ed70be8b6a46bdc98aee4b7e33f478ab
tree723c05468fb9178a3b6511d98d92f0ced5135c85
parent07be63b28747714903281a4051cecea0dc3e1cb7
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