From 30072a1ea2ca98ebfe3c1b057b74768d96ff22b8 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 18 Dec 2024 21:18:02 +0300 Subject: fix for shitty error code about nothing --- protocols/Steam/src/steam_login.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols') diff --git a/protocols/Steam/src/steam_login.cpp b/protocols/Steam/src/steam_login.cpp index 0cd18e10cc..24c247ce76 100644 --- a/protocols/Steam/src/steam_login.cpp +++ b/protocols/Steam/src/steam_login.cpp @@ -196,7 +196,7 @@ void CSteamProto::SendConfirmationCode(bool isEmail, const char *pszCode) void CSteamProto::OnGotConfirmationCode(const CAuthenticationUpdateAuthSessionWithSteamGuardCodeResponse &, const CMsgProtoBufHeader &hdr) { - if (hdr.failed()) + if (hdr.failed() && hdr.eresult != (int)EResult::DuplicateRequest) Logout(); else SendPollRequest(); -- cgit v1.2.3