This commit is contained in:
JustArchi
2019-01-26 22:05:31 +01:00
parent a6e4208b40
commit e86bf695c8
2 changed files with 17 additions and 3 deletions

View File

@@ -377,7 +377,7 @@ namespace ArchiSteamFarm {
Bot targetBot = Bots.Values.FirstOrDefault(bot => bot.SteamID == steamID);
if (targetBot != null) {
if (targetBot?.IsConnectedAndLoggedOn == true) {
string targetTradeToken = await targetBot.ArchiHandler.GetTradeToken().ConfigureAwait(false);
if (!string.IsNullOrEmpty(targetTradeToken)) {