summaryrefslogtreecommitdiff
path: root/protocols/IcqOscarJ/src/icq_proto.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/IcqOscarJ/src/icq_proto.cpp')
-rw-r--r--protocols/IcqOscarJ/src/icq_proto.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/protocols/IcqOscarJ/src/icq_proto.cpp b/protocols/IcqOscarJ/src/icq_proto.cpp
index 345be0d80d..d19156bd12 100644
--- a/protocols/IcqOscarJ/src/icq_proto.cpp
+++ b/protocols/IcqOscarJ/src/icq_proto.cpp
@@ -1689,11 +1689,9 @@ int __cdecl CIcqProto::SetStatus(int iNewStatus)
if (hServerConn) { // Connected, Send disconnect packet
icq_sendCloseConnection();
-
icq_serverDisconnect();
- SetCurrentStatus(ID_STATUS_OFFLINE);
-
+ m_bConnectionLost = false;
debugLogA("Logged off.");
}
}