1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-10 23:31:13 -05:00

Added login plugin

This commit is contained in:
RaidMax
2018-04-13 23:51:38 -05:00
parent b9c11d48c2
commit 4725f8b6f8
13 changed files with 256 additions and 23 deletions

View File

@ -82,7 +82,7 @@ namespace Application.RconParsers
{
String responseLine = statusLine;
if (Regex.Matches(responseLine, @"^\d+", RegexOptions.IgnoreCase).Count > 0) // its a client line!
if (Regex.Matches(responseLine, @"^ *\d+", RegexOptions.IgnoreCase).Count > 0) // its a client line!
{
String[] playerInfo = responseLine.Split(new char[] { ' ' }, StringSplitOptions.RemoveEmptyEntries);
int clientId = -1;