summaryrefslogtreecommitdiff
path: root/plugins/MirFox/src
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/MirFox/src')
-rw-r--r--plugins/MirFox/src/MirfoxData.cpp2
-rw-r--r--plugins/MirFox/src/MirfoxMiranda.cpp4
-rw-r--r--plugins/MirFox/src/common.h2
3 files changed, 4 insertions, 4 deletions
diff --git a/plugins/MirFox/src/MirfoxData.cpp b/plugins/MirFox/src/MirfoxData.cpp
index ac402cfab0..d529f38f89 100644
--- a/plugins/MirFox/src/MirfoxData.cpp
+++ b/plugins/MirFox/src/MirfoxData.cpp
@@ -616,7 +616,7 @@ void MirfoxData::initializeMirandaContacts()
for (auto &hContact : Contacts()){
//"Hidden" contacts not allowed in MirfoxData and SM, "NotOnList" contacts allowed and enabled
- if (Clist_IsHidden(hContact))
+ if (Contact_IsHidden(hContact))
continue;
//add to MirfoxData list
diff --git a/plugins/MirFox/src/MirfoxMiranda.cpp b/plugins/MirFox/src/MirfoxMiranda.cpp
index 015fecfc7f..bf13976d6b 100644
--- a/plugins/MirFox/src/MirfoxMiranda.cpp
+++ b/plugins/MirFox/src/MirfoxMiranda.cpp
@@ -127,7 +127,7 @@ void CMirfoxMiranda::onContactAdded_async(void* threadArg)
canAdd = false;
// execute
- if (canAdd && Clist_IsHidden(onContactAsyncThreadArgStruct->hContact))
+ if (canAdd && Contact_IsHidden(onContactAsyncThreadArgStruct->hContact))
canAdd = false;
// add
@@ -188,7 +188,7 @@ void CMirfoxMiranda::onContactSettingChanged_async(void* threadArg){
canAdd = false;
// edit
- if (canAdd && Clist_IsHidden(onContactAsyncThreadArgStruct->hContact))
+ if (canAdd && Contact_IsHidden(onContactAsyncThreadArgStruct->hContact))
canAdd = false;
if (canAdd)
diff --git a/plugins/MirFox/src/common.h b/plugins/MirFox/src/common.h
index 2334d4f1bf..b664accb69 100644
--- a/plugins/MirFox/src/common.h
+++ b/plugins/MirFox/src/common.h
@@ -8,7 +8,7 @@
// Miranda headers
#include <win2k.h>
#include <newpluginapi.h>
-#include <m_system.h>
+#include <m_contacts.h>
#include <m_database.h>
#include <m_langpack.h>
#include <m_options.h>