From 8e61fb0bae31285d9f810b4bd9f3154c1ae30232 Mon Sep 17 00:00:00 2001 From: Matt Lowe Date: Sun, 12 Apr 2015 19:01:16 +0200 Subject: [PATCH] Updated message limit from 10 -> 15 I have updated the `maxMessageCountPerInterval` from 10 to 15. This will allow some faster play from exp users. NOTE: If you have an existing server and update to this version, you will need to manually change the value in the ini file, or have no ini file to begin with. Otherwise the old ini will load in 10. --- servatrice/src/servatrice.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servatrice/src/servatrice.cpp b/servatrice/src/servatrice.cpp index 2e730a22..dbfdd863 100644 --- a/servatrice/src/servatrice.cpp +++ b/servatrice/src/servatrice.cpp @@ -256,7 +256,7 @@ bool Servatrice::initServer() maxUsersPerAddress = settingsCache->value("security/max_users_per_address", 4).toInt(); messageCountingInterval = settingsCache->value("security/message_counting_interval", 10).toInt(); - maxMessageCountPerInterval = settingsCache->value("security/max_message_count_per_interval", 10).toInt(); + maxMessageCountPerInterval = settingsCache->value("security/max_message_count_per_interval", 15).toInt(); maxMessageSizePerInterval = settingsCache->value("security/max_message_size_per_interval", 1000).toInt(); maxGamesPerUser = settingsCache->value("security/max_games_per_user", 5).toInt(); commandCountingInterval = settingsCache->value("game/command_counting_interval", 10).toInt();