update for pluto t5 rcon issue
This commit is contained in:
parent
7ecf516278
commit
f235d0fafd
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user