mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-09 15:54:47 -07:00
chat flood protection (yet untested)
This commit is contained in:
parent
3bb1d9a1de
commit
6145d6d524
8 changed files with 49 additions and 1 deletions
|
|
@ -84,6 +84,10 @@ Servatrice::Servatrice(QObject *parent)
|
|||
|
||||
maxGameInactivityTime = settings->value("game/max_game_inactivity_time").toInt();
|
||||
maxPlayerInactivityTime = settings->value("game/max_player_inactivity_time").toInt();
|
||||
|
||||
messageCountingInterval = settings->value("security/message_counting_interval").toInt();
|
||||
maxMessageCountPerInterval = settings->value("security/max_message_count_per_interval").toInt();
|
||||
maxMessageSizePerInterval = settings->value("security/max_message_size_per_interval").toInt();
|
||||
}
|
||||
|
||||
Servatrice::~Servatrice()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue