summaryrefslogtreecommitdiff
path: root/plugins/AuthState/src/options.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/AuthState/src/options.h')
-rw-r--r--plugins/AuthState/src/options.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/AuthState/src/options.h b/plugins/AuthState/src/options.h
index 7a3b426615..1f105b6dfb 100644
--- a/plugins/AuthState/src/options.h
+++ b/plugins/AuthState/src/options.h
@@ -40,7 +40,7 @@ public:
void OnApply() override
{
- for (MCONTACT hContact = db_find_first(); hContact; hContact = db_find_next(hContact))
+ for (auto &hContact : contact_iter())
onExtraImageApplying((WPARAM)hContact, 0);
}