diff --git a/Content.Server/Connection/ConnectionManager.cs b/Content.Server/Connection/ConnectionManager.cs index d834fe1332f..57d2e162af7 100644 --- a/Content.Server/Connection/ConnectionManager.cs +++ b/Content.Server/Connection/ConnectionManager.cs @@ -199,9 +199,9 @@ private async Task NetMgrOnConnecting(NetConnectingArgs e) var slots = _cfg.GetCVar(CCVars.WhitelistMinPlayers); - var nonWhitelistAllowed = slots > 0 && slots > connectedPlayers - connectedWhitelist; + var noSlotsOpen = slots > 0 && slots < connectedPlayers - connectedWhitelist; - if (nonWhitelistAllowed && await _db.GetWhitelistStatusAsync(userId) == false + if (noSlotsOpen && await _db.GetWhitelistStatusAsync(userId) == false && adminData is null) { var msg = Loc.GetString(_cfg.GetCVar(CCVars.WhitelistReason));