update for pluto t5 rcon issue

This commit is contained in:
RaidMax 2022-06-03 17:01:58 -05:00
parent 7ecf516278
commit f235d0fafd

View File

@ -368,7 +368,9 @@ namespace Integrations.Cod
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;
}