summaryrefslogtreecommitdiff
path: root/stopspam_mod/trunk/stopspam.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'stopspam_mod/trunk/stopspam.cpp')
-rw-r--r--stopspam_mod/trunk/stopspam.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/stopspam_mod/trunk/stopspam.cpp b/stopspam_mod/trunk/stopspam.cpp
index 27dde1d..c4cb38c 100644
--- a/stopspam_mod/trunk/stopspam.cpp
+++ b/stopspam_mod/trunk/stopspam.cpp
@@ -203,9 +203,10 @@ MIRANDA_HOOK_EVENT(ME_DB_EVENT_FILTER_ADD, w, l)
DBWriteContactSettingDword(hContact, pluginName, "QuestionCount", questCount + 1);
}
- else
+ else
{
- if (gbDosServiceExist)
+ if (gbDosServiceExist && (!gbInvisDisable || (gbInvisDisable && ((DBGetContactSettingWord(hContact,dbei->szModule,"ApparentMode",0) != ID_STATUS_OFFLINE) ||
+ (CallProtoService(dbei->szModule, PS_GETSTATUS, 0, 0) != ID_STATUS_INVISIBLE)))))
{
if(gbDosServiceIntegration)
{