diff options
author | George Hazan <ghazan@miranda.im> | 2019-09-27 21:32:12 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-09-27 21:32:12 +0300 |
commit | 426e2f9755a14023223e2e3ebfa8e78f6e8677a8 (patch) | |
tree | ae387e1079fe63cea4d928a0e2564f218836d548 /plugins/Spamotron/src | |
parent | ea45fcc6216051c084a762a8fd2d170e095bb1ba (diff) |
fix for a function name:
Clist_IsHidden => Contact_IsHidden
Clist_HideContact => Contact_Hide
Diffstat (limited to 'plugins/Spamotron/src')
-rw-r--r-- | plugins/Spamotron/src/spamotron.cpp | 8 | ||||
-rw-r--r-- | plugins/Spamotron/src/stdafx.h | 1 |
2 files changed, 5 insertions, 4 deletions
diff --git a/plugins/Spamotron/src/spamotron.cpp b/plugins/Spamotron/src/spamotron.cpp index 1e85e029a9..f45d88aaa3 100644 --- a/plugins/Spamotron/src/spamotron.cpp +++ b/plugins/Spamotron/src/spamotron.cpp @@ -101,7 +101,7 @@ int OnDBEventFilterAdd(WPARAM wParam, LPARAM lParam) // Hide the contact until verified if option set.
if (g_plugin.getByte("HideUnverified", defaultHideUnverified))
- Clist_HideContact(hContact);
+ Contact_Hide(hContact);
// Fetch the incoming message body
char *msgblob;
@@ -145,7 +145,7 @@ int OnDBEventFilterAdd(WPARAM wParam, LPARAM lParam) if (bCorrectResponse) {
g_plugin.setByte(hContact, "Verified", 1);
if (g_plugin.getByte("HideUnverified", defaultHideUnverified))
- Clist_HideContact(hContact, false);
+ Contact_Hide(hContact, false);
if (g_plugin.getByte("AddPermanently", defaultAddPermanently))
db_unset(hContact, "CList", "NotOnList");
db_unset(hContact, "CList", "Delete");
@@ -210,7 +210,7 @@ int OnDBEventFilterAdd(WPARAM wParam, LPARAM lParam) {
g_plugin.setByte(hContact, "Verified", 1);
if (g_plugin.getByte("HideUnverified", defaultHideUnverified))
- Clist_HideContact(hContact, false);
+ Contact_Hide(hContact, false);
if (g_plugin.getByte("AddPermanently", defaultAddPermanently))
db_unset(hContact, "CList", "NotOnList");
db_unset(hContact, "CList", "Delete");
@@ -313,7 +313,7 @@ int OnDBEventFilterAdd(WPARAM wParam, LPARAM lParam) _notify(hContact, POPUP_APPROVED, TranslateT("Contact %s approved."), message);
g_plugin.setByte(hContact, "Verified", 1);
if (g_plugin.getByte("HideUnverified", defaultHideUnverified))
- Clist_HideContact(hContact, false);
+ Contact_Hide(hContact, false);
if (g_plugin.getByte("AddPermanently", defaultAddPermanently))
db_unset(hContact, "CList", "NotOnList");
db_unset(hContact, "CList", "Delete");
diff --git a/plugins/Spamotron/src/stdafx.h b/plugins/Spamotron/src/stdafx.h index 87ceb09808..b587286647 100644 --- a/plugins/Spamotron/src/stdafx.h +++ b/plugins/Spamotron/src/stdafx.h @@ -6,6 +6,7 @@ #include <time.h>
#include <newpluginapi.h>
+#include <m_contacts.h>
#include <m_database.h>
#include <m_system.h>
#include <m_utils.h>
|