From e2d3cecbafe066218273f980cdd1e05f5a3f8f1a Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 11 Dec 2024 20:56:33 +0300 Subject: minor code cleaning --- protocols/Steam/src/steam_proto.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/protocols/Steam/src/steam_proto.cpp b/protocols/Steam/src/steam_proto.cpp index 77dc767621..ce77ce38d7 100644 --- a/protocols/Steam/src/steam_proto.cpp +++ b/protocols/Steam/src/steam_proto.cpp @@ -292,10 +292,9 @@ int CSteamProto::SetStatus(int new_status) } else if (m_ws == nullptr && !IsStatusConnecting(m_iStatus)) { m_iStatus = ID_STATUS_CONNECTING; - ForkThread(&CSteamProto::ServerThread); - - Login(); ProtoBroadcastAck(NULL, ACKTYPE_STATUS, ACKRESULT_SUCCESS, (HANDLE)old_status, m_iStatus); + + ForkThread(&CSteamProto::ServerThread); } else if (IsOnline()) { m_iStatus = new_status; -- cgit v1.2.3