Skip to content

Commit

Permalink
update SteamAuth, but remove trade descriptions, fix #28, fix #29
Browse files Browse the repository at this point in the history
  • Loading branch information
dyc3 committed Apr 11, 2018
1 parent 11adeb5 commit 2c429b4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions Program.cs
Expand Up @@ -661,7 +661,7 @@ static void processConfirmations(SteamGuardAccount account)

Console.ForegroundColor = t == selected ? colorSelected : itemColor;

Console.WriteLine($" [{t}] [{tradeActions[t]}] {trades[t].Description}");
Console.WriteLine($" [{t}] [{tradeActions[t]}] {trades[t].ConfType} {trades[t].Creator}");
}
var key = Console.ReadKey();
switch (key.Key)
Expand Down Expand Up @@ -704,15 +704,15 @@ static void processConfirmations(SteamGuardAccount account)
switch (tradeActions[t])
{
case TradeAction.Accept:
if (Verbose) Console.Write($"Accepting {trades[t].Description}...");
if (Verbose) Console.Write($"Accepting {trades[t].ConfType} {trades[t].Creator}...");
success = account.AcceptConfirmation(trades[t]);
break;
case TradeAction.Deny:
if (Verbose) Console.Write($"Denying {trades[t].Description}...");
if (Verbose) Console.Write($"Denying {trades[t].ConfType} {trades[t].Creator}...");
success = account.DenyConfirmation(trades[t]);
break;
case TradeAction.Ignore:
if (Verbose) Console.Write($"Ignoring {trades[t].Description}...");
if (Verbose) Console.Write($"Ignoring {trades[t].ConfType} {trades[t].Creator}...");
success = true;
break;
default:
Expand Down

0 comments on commit 2c429b4

Please sign in to comment.