summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--protocols/Steam/src/steam_proto.cpp5
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;