Fix IDE0061
This commit is contained in:
committed by
Pavel Penev
parent
4f6095c3d4
commit
837c70f857
@@ -47,10 +47,7 @@ namespace OpenRA.Server
|
||||
var tracker = messageTracker[conn.PlayerIndex];
|
||||
tracker.RemoveAll(t => t + settings.FloodLimitInterval < time);
|
||||
|
||||
long CalculateRemaining(long cooldown)
|
||||
{
|
||||
return (cooldown - time + 999) / 1000;
|
||||
}
|
||||
long CalculateRemaining(long cooldown) => (cooldown - time + 999) / 1000;
|
||||
|
||||
// Block messages until join cooldown times out
|
||||
if (!isAdmin && time < settings.FloodLimitJoinCooldown)
|
||||
|
||||
Reference in New Issue
Block a user