summaryrefslogtreecommitdiff
path: root/plugins/HistoryStats/src/dlgoption_subexclude.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/HistoryStats/src/dlgoption_subexclude.cpp')
-rw-r--r--plugins/HistoryStats/src/dlgoption_subexclude.cpp4
1 files changed, 2 insertions, 2 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);