summaryrefslogtreecommitdiff
path: root/plugins/HistoryStats/src
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/HistoryStats/src')
-rw-r--r--plugins/HistoryStats/src/dlgoption_subexclude.cpp4
-rw-r--r--plugins/HistoryStats/src/mirandahistory.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/plugins/HistoryStats/src/dlgoption_subexclude.cpp b/plugins/HistoryStats/src/dlgoption_subexclude.cpp
index f94345ce7f..885cbb3d8a 100644
--- a/plugins/HistoryStats/src/dlgoption_subexclude.cpp
+++ b/plugins/HistoryStats/src/dlgoption_subexclude.cpp
@@ -169,7 +169,7 @@ void DlgOption::SubExclude::saveSettings()
db.setModule(con::ModHistoryStats);
- for (auto &hContact : contact_iter()) {
+ for (auto &hContact : Contacts()) {
HANDLE hItem = reinterpret_cast<HANDLE>(SendMessage(hCList, CLM_FINDCONTACT, hContact, 0));
if (hItem) {
db.setContact(hContact);
@@ -240,7 +240,7 @@ void DlgOption::SubExclude::updateAllContacts(HWND hCList)
db.setModule(con::ModHistoryStats);
- for (auto &hContact : contact_iter()) {
+ for (auto &hContact : Contacts()) {
HANDLE hItem = reinterpret_cast<HANDLE>(SendMessage(hCList, CLM_FINDCONTACT, hContact, 0));
if (hItem) {
db.setContact(hContact);
diff --git a/plugins/HistoryStats/src/mirandahistory.cpp b/plugins/HistoryStats/src/mirandahistory.cpp
index fe96757165..792b6fcf46 100644
--- a/plugins/HistoryStats/src/mirandahistory.cpp
+++ b/plugins/HistoryStats/src/mirandahistory.cpp
@@ -61,7 +61,7 @@ void MirandaHistory::readContacts()
std::vector<MCONTACT> sources;
- for (auto &hContact : contact_iter()) {
+ for (auto &hContact : Contacts()) {
db.setContact(hContact);
const char* pProtoName = GetContactProto(hContact);