From e441a31e9f912fc8e9244d16560565559b1924d2 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 27 Sep 2019 23:43:06 +0300 Subject: end of manual experiments with CList/NotOnList --- plugins/StopSpamMod/src/utilities.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/StopSpamMod/src/utilities.cpp') diff --git a/plugins/StopSpamMod/src/utilities.cpp b/plugins/StopSpamMod/src/utilities.cpp index df98a7efbb..d8dd94c673 100755 --- a/plugins/StopSpamMod/src/utilities.cpp +++ b/plugins/StopSpamMod/src/utilities.cpp @@ -249,7 +249,7 @@ void __cdecl CleanProtocolTmpThread(void *param) std::list contacts; for (auto &hContact : Contacts(szProto)) - if (db_get_b(hContact, "CList", "NotOnList", 0) || (L"Not In List" == DBGetContactSettingStringPAN(hContact, "CList", "Group", L""))) + if (!Contact_OnList(hContact) || (L"Not In List" == DBGetContactSettingStringPAN(hContact, "CList", "Group", L""))) contacts.push_back(hContact); Sleep(5000); @@ -279,7 +279,7 @@ void __cdecl CleanProtocolExclThread(void *param) std::list contacts; for (auto &hContact : Contacts(szProto)) - if (db_get_b(hContact, "CList", "NotOnList", 0) && g_plugin.getByte(hContact, "Excluded")) + if (!Contact_OnList(hContact) && g_plugin.getByte(hContact, "Excluded")) contacts.push_back(hContact); Sleep(5000); -- cgit v1.2.3