summaryrefslogtreecommitdiff
path: root/plugins/NewXstatusNotify/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/NewXstatusNotify/src/main.cpp')
-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);