sugar-sugar syntax

This commit is contained in:
Ryzhehvost 2021-06-26 12:37:58 +03:00
parent 42387fb3c9
commit ee9b558faf

View file

@ -166,7 +166,7 @@ namespace ArchiSteamFarm.Steam.Integration {
continue;
}
if (stringReader.Peek() != -1 && messagePart[messagePart.Length-1] != ContinuationCharacter) {
if (stringReader.Peek() != -1 && messagePart[^1] != ContinuationCharacter) {
messagePart.Append(ParagraphCharacter);
}