summaryrefslogtreecommitdiff
path: root/protocols/Yahoo/src/proto.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Yahoo/src/proto.cpp')
-rw-r--r--protocols/Yahoo/src/proto.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/protocols/Yahoo/src/proto.cpp b/protocols/Yahoo/src/proto.cpp
index cac60ea904..af005ccd85 100644
--- a/protocols/Yahoo/src/proto.cpp
+++ b/protocols/Yahoo/src/proto.cpp
@@ -367,9 +367,7 @@ int __cdecl CYahooProto::SetStatus(int iNewStatus)
LOG(("[SetStatus] New status %S", pcli->pfnGetStatusModeDescription(iNewStatus, 0)));
if (iNewStatus == ID_STATUS_OFFLINE) {
-
logout();
-
}
else if (!m_bLoggedIn) {
DBVARIANT dbv;
@@ -423,9 +421,6 @@ int __cdecl CYahooProto::SetStatus(int iNewStatus)
return 0;
}
- if (iNewStatus == ID_STATUS_OFFLINE)
- iNewStatus = ID_STATUS_ONLINE;
-
FREE(m_pw_token); // No Token yet.
if (!getString(YAHOO_PWTOKEN, &dbv)) {