mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-03-08 16:00:46 -07:00
Merge c95775b1a2 into 63f0776079
This commit is contained in:
commit
c8c93bffe7
1 changed files with 0 additions and 2 deletions
|
|
@ -113,8 +113,6 @@ public class ArcNetProvider implements NetProvider{
|
|||
|
||||
//kill connections above the limit to prevent spam
|
||||
if((playerLimitCache > 0 && server.getConnections().length > playerLimitCache) || netServer.admins.isDosBlacklisted(ip)){
|
||||
Log.info("Closing connection @ - IP marked as a potential DOS attack.", ip);
|
||||
|
||||
connection.close(DcReason.closed);
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue