diff options
-rw-r--r-- | plugins/NewXstatusNotify/main.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/NewXstatusNotify/main.cpp b/plugins/NewXstatusNotify/main.cpp index 7e829fa2d5..f1e34b53c7 100644 --- a/plugins/NewXstatusNotify/main.cpp +++ b/plugins/NewXstatusNotify/main.cpp @@ -171,6 +171,9 @@ int ProcessExtraStatus(DBCONTACTWRITESETTING *cws, HANDLE hContact) if (cws->value.type == DBVT_DELETED)
return 0;
+ if (hContact == NULL)
+ return 0;
+
if (strstr(cws->szSetting, "/mood/") || strstr(cws->szSetting, "/activity/")) // Jabber mood or activity changed
{
char *szSetting;
|