From a28acd3195e07adbf12495a1b50a5c0b2c2dfbbd Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 18 Jan 2019 17:59:18 +0300 Subject: fixes #1765 (ICQ goes offline when user change statuses too fast) --- protocols/ICQ-WIM/src/proto.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/ICQ-WIM/src/proto.cpp') diff --git a/protocols/ICQ-WIM/src/proto.cpp b/protocols/ICQ-WIM/src/proto.cpp index e1f926c4ff..aeade1e3a9 100644 --- a/protocols/ICQ-WIM/src/proto.cpp +++ b/protocols/ICQ-WIM/src/proto.cpp @@ -406,7 +406,7 @@ int CIcqProto::SetStatus(int iNewStatus) ProtoBroadcastAck(0, ACKTYPE_STATUS, ACKRESULT_SUCCESS, (HANDLE)iOldStatus, m_iStatus); } // not logged in? come on - else if (!IsStatusConnecting(m_iStatus)) { + else if (!m_bOnline && !IsStatusConnecting(m_iStatus)) { m_iStatus = ID_STATUS_CONNECTING; ProtoBroadcastAck(0, ACKTYPE_STATUS, ACKRESULT_SUCCESS, (HANDLE)iOldStatus, m_iStatus); -- cgit v1.2.3