mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-01 14:10:53 +00:00
Misc bulletproofing
This commit is contained in:
@@ -208,7 +208,7 @@ public sealed class ArchiHandler : ClientMsgHandler, IDisposable {
|
||||
count = itemsCountPerRequest
|
||||
};
|
||||
|
||||
if (language != null) {
|
||||
if (!string.IsNullOrEmpty(language)) {
|
||||
request.language = language;
|
||||
}
|
||||
|
||||
|
||||
@@ -259,7 +259,9 @@ public sealed class ArchiWebHandler : IDisposable {
|
||||
throw new InvalidOperationException(nameof(ASF.InventorySemaphore));
|
||||
}
|
||||
|
||||
language ??= "english";
|
||||
if (string.IsNullOrEmpty(language)) {
|
||||
language = "english";
|
||||
}
|
||||
|
||||
ulong startAssetID = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user