diff options
Diffstat (limited to 'plugins/AutoShutdown/src')
-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 85de2aa7df..0235ac9be0 100644 --- a/plugins/AutoShutdown/src/watcher.cpp +++ b/plugins/AutoShutdown/src/watcher.cpp @@ -183,7 +183,7 @@ static BOOL CheckAllContactsOffline(void) if (db_get_w(hContact, pszProto, "Status", 0) != ID_STATUS_OFFLINE) {
if (fSmartCheck) {
if (Contact_IsHidden(hContact)) continue;
- if (db_get_b(hContact, "CList", "NotOnList", 0)) continue;
+ if (!Contact_OnList(hContact)) continue;
}
fAllOffline = FALSE;
break;
|