summaryrefslogtreecommitdiff
path: root/plugins/NewXstatusNotify
diff options
context:
space:
mode:
authorSergey Tatarinov <tatarinov.sergey@gmail.com>2013-05-25 19:34:14 +0000
committerSergey Tatarinov <tatarinov.sergey@gmail.com>2013-05-25 19:34:14 +0000
commitf99fa6ff7f4b07c3f7306641114151d8c7049529 (patch)
treea711366de06b504afb5ad5e08ab8c6f337fe97f4 /plugins/NewXstatusNotify
parent20c3e88cab43b37798d2ef74f10413745f1d2018 (diff)
git-svn-id: http://svn.miranda-ng.org/main/trunk@4823 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/NewXstatusNotify')
-rw-r--r--plugins/NewXstatusNotify/src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/NewXstatusNotify/src/main.cpp b/plugins/NewXstatusNotify/src/main.cpp
index 9398b08429..bff802174e 100644
--- a/plugins/NewXstatusNotify/src/main.cpp
+++ b/plugins/NewXstatusNotify/src/main.cpp
@@ -766,7 +766,7 @@ int ContactStatusChanged(WPARAM wParam, LPARAM lParam)
strcpy(szProto, hlpProto);
WORD myStatus = (WORD)CallProtoService(szProto, PS_GETSTATUS, 0, 0);
- if ( !ServiceExists("LastSeenUserDetails") && newStatus == ID_STATUS_OFFLINE && oldStatus > ID_STATUS_OFFLINE ) { // if SeenPlugin not installed write Last Seen info
+ if (newStatus == ID_STATUS_OFFLINE && oldStatus > ID_STATUS_OFFLINE && !ServiceExists("LastSeenUserDetails")) { // if SeenPlugin not installed write Last Seen info
SYSTEMTIME systime;
GetLocalTime(&systime);