apply chat flood prevention in games next to rooms (#4387)

* apply chat flood prevention in games next to rooms

* add limit to private messages as well
This commit is contained in:
ebbit1q 2021-06-28 07:57:46 +02:00 committed by GitHub
parent a65ce8694c
commit 0280fea3e6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 46 additions and 23 deletions

View file

@ -129,6 +129,7 @@ public:
{
return timeRunning - lastDataReceived;
}
bool addSaidMessageSize(int size);
void processCommandContainer(const CommandContainer &cont);
void sendProtocolItem(const Response &item);