summaryrefslogtreecommitdiff
path: root/protocols/IcqOscarJ/src/icq_proto.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-07-12 15:38:46 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-07-12 15:38:46 +0000
commit01ab72c6afb99b7403eb577a44f35b09eda594f7 (patch)
treecac72eaf375cf83ef2c799c64f9ef133e01659d3 /protocols/IcqOscarJ/src/icq_proto.cpp
parent5970c40dd0ae37efac77c480ec379a74279fc347 (diff)
wipe out of the old ugly disconnection code
git-svn-id: http://svn.miranda-ng.org/main/trunk@9773 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
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.");
}
}