diff options
author | Gluzskiy Alexandr <sss123next@list.ru> | 2009-10-01 06:38:05 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss123next@list.ru> | 2009-10-01 06:38:05 +0300 |
commit | 8dfe91c7dcaea903a2a7ab3491eccc1ae1310a35 (patch) | |
tree | b8a798460184c6aab82608b9dd872283e7c7ac33 | |
parent | 298b3e189486938208a4bf7d15d3aa1b841ef652 (diff) |
fix invis mode..
-rw-r--r-- | stopspam_mod/trunk/stopspam.cpp | 5 |
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)
{
|