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:
parent
801e16ec7e
commit
b1b206585e
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user