diff options
author | George Hazan <ghazan@miranda.im> | 2019-01-18 17:59:18 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-01-18 17:59:18 +0300 |
commit | a28acd3195e07adbf12495a1b50a5c0b2c2dfbbd (patch) | |
tree | f89b8ae1c4f312e351a4a08ebe3528870cc738a5 /protocols | |
parent | 73b8de6d32ee10e80f1905e07ce5674de54f2571 (diff) |
fixes #1765 (ICQ goes offline when user change statuses too fast)
Diffstat (limited to 'protocols')
-rw-r--r-- | protocols/ICQ-WIM/src/proto.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); |