diff options
author | George Hazan <ghazan@miranda.im> | 2020-03-30 16:52:28 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2020-03-30 16:52:28 +0300 |
commit | 64303ec8f7d8fd491247a2c06ee133e4f5f3c942 (patch) | |
tree | fd57755518819e33a7ed03c8fef389396c0d61df /plugins/StopSpamMod/src | |
parent | 1043ccf5d184151af43a417cd6e6c1a800b678dd (diff) |
Contact lists:
- all common options moved to the Clist namespace;
- fixes #2281 (Add option to not clear "NotOnList" group at start);
Diffstat (limited to 'plugins/StopSpamMod/src')
-rwxr-xr-x | plugins/StopSpamMod/src/stdafx.h | 2 | ||||
-rwxr-xr-x | plugins/StopSpamMod/src/utilities.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/StopSpamMod/src/stdafx.h b/plugins/StopSpamMod/src/stdafx.h index 011161651a..3a7e043ae4 100755 --- a/plugins/StopSpamMod/src/stdafx.h +++ b/plugins/StopSpamMod/src/stdafx.h @@ -19,7 +19,7 @@ using namespace std; #include <m_protosvc.h> #include <m_options.h> #include <m_langpack.h> -#include <m_clist.h> +#include <m_clistint.h> #include <m_skin.h> #include <m_contacts.h> #include <m_system.h> diff --git a/plugins/StopSpamMod/src/utilities.cpp b/plugins/StopSpamMod/src/utilities.cpp index 6e1ee82c2d..43d6c6a6a0 100755 --- a/plugins/StopSpamMod/src/utilities.cpp +++ b/plugins/StopSpamMod/src/utilities.cpp @@ -67,7 +67,7 @@ bool ProtoInList(const char *szProto) void DeleteCListGroupsByName(wchar_t* szGroupName)
{
- BYTE ConfirmDelete = db_get_b(0, "CList", "ConfirmDelete", SETTING_CONFIRMDELETE_DEFAULT);
+ BYTE ConfirmDelete = Clist::ConfirmDelete;
if (ConfirmDelete)
db_set_b(0, "CList", "ConfirmDelete", 0);
|