Fix dropping unvalidated clients.

This commit is contained in:
Paul Chote
2010-12-31 16:52:17 +13:00
parent dc9de20553
commit 64304635b7

View File

@@ -353,6 +353,10 @@ namespace OpenRA.Server
}
public void DropClient(Connection toDrop)
{
if (preConns.Contains(toDrop))
preConns.Remove(toDrop);
else
{
conns.Remove(toDrop);
SendChat(toDrop, "Connection Dropped");
@@ -366,6 +370,7 @@ namespace OpenRA.Server
if (conns.Count != 0)
SyncLobbyInfo();
}
try
{