mirrors tgstation 48524

This commit is contained in:
deathride58
2020-01-01 18:59:05 -05:00
parent 58241b704e
commit 8390334d1e
2 changed files with 26 additions and 3 deletions
@@ -421,8 +421,8 @@ function handleClientData(ckey, ip, compid) {
return; //Record already exists
}
}
if (opts.clientData.length >= opts.clientDataLimit) {
//Lets make sure we obey our limit (can connect from server with higher limit)
while (opts.clientData.length >= opts.clientDataLimit) {
opts.clientData.shift();
}
} else {