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.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/protocols/IcqOscarJ/src/icq_proto.cpp b/protocols/IcqOscarJ/src/icq_proto.cpp
index 50771cb011..76a7fd2d90 100644
--- a/protocols/IcqOscarJ/src/icq_proto.cpp
+++ b/protocols/IcqOscarJ/src/icq_proto.cpp
@@ -2001,6 +2001,9 @@ 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