summaryrefslogtreecommitdiff
path: root/protocols/IcqOscarJ/src
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2013-01-25 11:38:55 +0000
committerRobert Pösel <robyer@seznam.cz>2013-01-25 11:38:55 +0000
commitfc729a37956500e78f313e32dc65e6855b09515f (patch)
treed7f41aaf3241edcdf18f842592bfab425aced22c /protocols/IcqOscarJ/src
parent4be23b9d071f7f75c84413fc9d3c758ffc4e0736 (diff)
ICQ: fixed setting last xstatus on login
git-svn-id: http://svn.miranda-ng.org/main/trunk@3278 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/IcqOscarJ/src')
-rw-r--r--protocols/IcqOscarJ/src/fam_01service.cpp3
-rw-r--r--protocols/IcqOscarJ/src/icq_proto.cpp3
2 files changed, 3 insertions, 3 deletions
diff --git a/protocols/IcqOscarJ/src/fam_01service.cpp b/protocols/IcqOscarJ/src/fam_01service.cpp
index 228754e7ec..4439dd85b5 100644
--- a/protocols/IcqOscarJ/src/fam_01service.cpp
+++ b/protocols/IcqOscarJ/src/fam_01service.cpp
@@ -968,6 +968,9 @@ void CIcqProto::handleServUINSettings(int nPort, serverthread_info *info)
m_avatarsConnectionPending = TRUE;
NetLog_Server("Requesting Avatar family entry point.");
}
+
+ // Set last xstatus
+ updateServerCustomStatus(TRUE);
}
info->isMigrating = 0;
diff --git a/protocols/IcqOscarJ/src/icq_proto.cpp b/protocols/IcqOscarJ/src/icq_proto.cpp
index 76a7fd2d90..50771cb011 100644
--- a/protocols/IcqOscarJ/src/icq_proto.cpp
+++ b/protocols/IcqOscarJ/src/icq_proto.cpp
@@ -2001,9 +2001,6 @@ int __cdecl CIcqProto::SetStatus(int iNewStatus)
// Read password from database
char *pszPwd = GetUserPassword(FALSE);
- // Clear xstatus
- setXStatusEx(0, 0);
-
if (pszPwd)
icq_login(pszPwd);
else