From 43d18b6d4966a3fc1f4824373bc827e352b94558 Mon Sep 17 00:00:00 2001 From: JustArchi Date: Tue, 1 Aug 2017 12:44:22 +0200 Subject: [PATCH] Move debug to appropriate place --- ArchiSteamFarm/Bot.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/ArchiSteamFarm/Bot.cs b/ArchiSteamFarm/Bot.cs index 8c9fabb34..eefa845dd 100755 --- a/ArchiSteamFarm/Bot.cs +++ b/ArchiSteamFarm/Bot.cs @@ -355,6 +355,7 @@ namespace ArchiSteamFarm { await PICSSemaphore.WaitAsync().ConfigureAwait(false); try { + ArchiLogger.LogGenericDebug("Asking for " + appID); productInfoResultSet = await SteamApps.PICSGetProductInfo(appID, null, false); } catch (Exception e) { ArchiLogger.LogGenericException(e); @@ -462,6 +463,7 @@ namespace ArchiSteamFarm { await PICSSemaphore.WaitAsync().ConfigureAwait(false); try { + ArchiLogger.LogGenericDebug("Asking for " + string.Join(", ", packageIDs)); productInfoResultSet = await SteamApps.PICSGetProductInfo(Enumerable.Empty(), packageIDs); } catch (Exception e) { ArchiLogger.LogGenericException(e); @@ -1864,7 +1866,6 @@ namespace ArchiSteamFarm { Statistics?.OnLoggedOn().Forget(); Trading.OnNewTrade().Forget(); - ResponseOwns(GetFirstSteamMasterID(), "*").Forget(); // TODO: DEBUG break; case EResult.InvalidPassword: case EResult.NoConnection: @@ -3078,8 +3079,6 @@ namespace ArchiSteamFarm { if (query.Equals("*")) { foreach (KeyValuePair ownedGame in ownedGames) { - ArchiLogger.LogGenericDebug("Asking for " + ownedGame.Key); - await GetAppDataForIdling(ownedGame.Key).ConfigureAwait(false); // TODO: DEBUG response.Append(FormatBotResponse(string.Format(Strings.BotOwnedAlreadyWithName, ownedGame.Key, ownedGame.Value))); } } else {