Chat: new settings to prevent spam 4571/head
authorLoic Blot <loic.blot@unix-experience.fr>
Tue, 4 Oct 2016 16:17:12 +0000 (18:17 +0200)
committerLoic Blot <loic.blot@unix-experience.fr>
Tue, 4 Oct 2016 22:13:37 +0000 (00:13 +0200)
commitd4c76258e37337ea585cf24d8e05b50a30fa307d
tree6936b8f843171843008743e1341fe431222eec82
parent1079aeaa13a94c67c1e0a0bd1c461e14841a1eec
Chat: new settings to prevent spam

Added the following chat coreside features
* Chat messages length limit
* Message rate limiting
* Message rate kicking

Note:
* handleChat now takes RemotePlayer pointer instead of u16 to remove useless
  lookups
builtin/settingtypes.txt
minetest.conf.example
src/defaultsettings.cpp
src/network/serverpackethandler.cpp
src/player.cpp
src/player.h
src/server.cpp
src/server.h