fix #26, "deny" actually accepts trades confirmations (oops)

This commit is contained in:
Carson McManus 2018-01-29 20:28:59 -05:00
parent cf1388d3e2
commit baff4e33fc

View file

@ -701,7 +701,7 @@ namespace SteamGuard
break; break;
case TradeAction.Deny: case TradeAction.Deny:
if (Verbose) Console.Write($"Denying {trades[t].Description}..."); if (Verbose) Console.Write($"Denying {trades[t].Description}...");
success = account.AcceptConfirmation(trades[t]); success = account.DenyConfirmation(trades[t]);
break; break;
case TradeAction.Ignore: case TradeAction.Ignore:
if (Verbose) Console.Write($"Ignoring {trades[t].Description}..."); if (Verbose) Console.Write($"Ignoring {trades[t].Description}...");