mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
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:
parent
a65ce8694c
commit
0280fea3e6
5 changed files with 46 additions and 23 deletions
|
|
@ -129,6 +129,7 @@ public:
|
|||
{
|
||||
return timeRunning - lastDataReceived;
|
||||
}
|
||||
bool addSaidMessageSize(int size);
|
||||
void processCommandContainer(const CommandContainer &cont);
|
||||
|
||||
void sendProtocolItem(const Response &item);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue