1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-09 14:47:59 -05:00

update for pluto t5 rcon issue

This commit is contained in:
RaidMax 2022-06-03 17:01:58 -05:00
parent 801e16ec7e
commit b1b206585e

View File

@ -368,7 +368,9 @@ namespace Integrations.Cod
throw new RConException("Unexpected response header from server"); throw new RConException("Unexpected response header from server");
} }
var splitResponse = headerSplit.Last().Split(new[] { '\n' }, StringSplitOptions.RemoveEmptyEntries); var splitResponse = headerSplit.Last().Split(new[] { '\n' }, StringSplitOptions.RemoveEmptyEntries)
.Select(line => line.StartsWith("^7") ? line[2..] : line).ToArray();
return splitResponse; return splitResponse;
} }