From f99fa6ff7f4b07c3f7306641114151d8c7049529 Mon Sep 17 00:00:00 2001 From: Sergey Tatarinov Date: Sat, 25 May 2013 19:34:14 +0000 Subject: git-svn-id: http://svn.miranda-ng.org/main/trunk@4823 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/NewXstatusNotify/src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/NewXstatusNotify') 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); -- cgit v1.2.3