1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-10 15:20:48 -05:00

Added fast restart plugin

This commit is contained in:
RaidMax
2017-06-05 21:49:26 -05:00
parent 04df8d5408
commit 3ca73a5a7a
8 changed files with 262 additions and 4 deletions

View File

@ -85,7 +85,7 @@ namespace SharedLibrary.Network
{
ReceiveBuffer = ServerOOBConnection.Receive(ref Endpoint);
QueryResponseString.Append(Encoding.ASCII.GetString(ReceiveBuffer).TrimEnd('\0'));
} while (ServerOOBConnection.Available > 0);
} while (ServerOOBConnection.Available > 0 && ServerOOBConnection.Client.Connected);
ServerOOBConnection.Close();