diff options
| author | George Hazan <george.hazan@gmail.com> | 2024-12-11 20:56:33 +0300 |
|---|---|---|
| committer | George Hazan <george.hazan@gmail.com> | 2024-12-11 20:56:33 +0300 |
| commit | e2d3cecbafe066218273f980cdd1e05f5a3f8f1a (patch) | |
| tree | a869d47661f2cc4911ce82c84d79c05ede493917 | |
| parent | 41574c50c6386982821e9c7fdd417a379b5fc998 (diff) | |
minor code cleaning
| -rw-r--r-- | protocols/Steam/src/steam_proto.cpp | 5 |
1 files 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;
|
