diff options
author | George Hazan <ghazan@miranda.im> | 2018-03-16 21:10:14 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-03-16 21:10:14 +0300 |
commit | 61b9b52fcc31ff4c0a533100c15f8d4fa7b2b93a (patch) | |
tree | bf06978de54d091be2b71ce5140ea69028dc8f3e /plugins/AutoShutdown | |
parent | 12225716d38830a23477b97a6979b6414faeec7b (diff) |
class renaming, part II
Diffstat (limited to 'plugins/AutoShutdown')
-rw-r--r-- | plugins/AutoShutdown/src/watcher.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/AutoShutdown/src/watcher.cpp b/plugins/AutoShutdown/src/watcher.cpp index 768f85bb74..876d3a568e 100644 --- a/plugins/AutoShutdown/src/watcher.cpp +++ b/plugins/AutoShutdown/src/watcher.cpp @@ -176,7 +176,7 @@ static BOOL CheckAllContactsOffline(void) {
BOOL fSmartCheck, fAllOffline = TRUE; /* tentatively */
fSmartCheck = db_get_b(NULL, "AutoShutdown", "SmartOfflineCheck", SETTING_SMARTOFFLINECHECK_DEFAULT);
- for (auto &hContact : contact_iter()) {
+ for (auto &hContact : Contacts()) {
char *pszProto = GetContactProto(hContact);
if (pszProto != nullptr && CallProtoService(pszProto, PS_GETSTATUS, 0, 0) != ID_STATUS_OFFLINE) {
if (db_get_b(hContact, pszProto, "ChatRoom", 0)) continue;
|