summaryrefslogtreecommitdiff
path: root/stopspam_mod/trunk/stopspam.cpp
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss123next@list.ru>2009-10-01 06:38:05 +0300
committerGluzskiy Alexandr <sss123next@list.ru>2009-10-01 06:38:05 +0300
commit8dfe91c7dcaea903a2a7ab3491eccc1ae1310a35 (patch)
treeb8a798460184c6aab82608b9dd872283e7c7ac33 /stopspam_mod/trunk/stopspam.cpp
parent298b3e189486938208a4bf7d15d3aa1b841ef652 (diff)
fix invis 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)
{