mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-16 08:25:28 +00:00
Closes #1060
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user