diff options
| author | George Hazan <george.hazan@gmail.com> | 2024-12-18 21:18:02 +0300 |
|---|---|---|
| committer | George Hazan <george.hazan@gmail.com> | 2024-12-18 21:18:02 +0300 |
| commit | 30072a1ea2ca98ebfe3c1b057b74768d96ff22b8 (patch) | |
| tree | 40c6395b44e4be88d1f60591ed56a7164bc2e318 | |
| parent | 28caac48700080d759c9538aa552f8f499f511c0 (diff) | |
fix for shitty error code about nothing
| -rw-r--r-- | protocols/Steam/src/steam_login.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |
