add kick command to LobbyCommands

This commit is contained in:
Chris Forbes
2010-12-24 12:10:38 +13:00
parent b5b6b47e95
commit 54cf2e7993
3 changed files with 31 additions and 6 deletions

View File

@@ -49,7 +49,7 @@ namespace OpenRA.Server
else
{
if (len == 0)
server.DropClient(this, null);
server.DropClient(this);
break;
}
@@ -57,7 +57,7 @@ namespace OpenRA.Server
catch (SocketException e)
{
if (e.SocketErrorCode == SocketError.WouldBlock) break;
server.DropClient(this, e);
server.DropClient(this);
return false;
}
}