summaryrefslogtreecommitdiff
path: root/protocols/Yahoo/src/proto.cpp
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2015-03-27 22:07:31 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2015-03-27 22:07:31 +0000
commitbcd3d5eedda6f93c8846f77848e950b4e78fcd81 (patch)
tree45861e1b56a4b9e4b41b3add563ae4b4612e324a /protocols/Yahoo/src/proto.cpp
parent171d9d47bbccf67edf73042eaab8eec616bd5efb (diff)
Yahoo:
- Fix for a broken URL - minor bugfixes git-svn-id: http://svn.miranda-ng.org/main/trunk@12532 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
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)) {