From 426e2f9755a14023223e2e3ebfa8e78f6e8677a8 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 27 Sep 2019 21:32:12 +0300 Subject: fix for a function name: Clist_IsHidden => Contact_IsHidden Clist_HideContact => Contact_Hide --- plugins/AutoShutdown/src/stdafx.h | 1 + plugins/AutoShutdown/src/watcher.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'plugins/AutoShutdown') diff --git a/plugins/AutoShutdown/src/stdafx.h b/plugins/AutoShutdown/src/stdafx.h index 0e58bbf11a..e541eacbb1 100644 --- a/plugins/AutoShutdown/src/stdafx.h +++ b/plugins/AutoShutdown/src/stdafx.h @@ -43,6 +43,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include /* error codes for RAS */ #include +#include #include #include #include diff --git a/plugins/AutoShutdown/src/watcher.cpp b/plugins/AutoShutdown/src/watcher.cpp index 87cba96fde..85de2aa7df 100644 --- a/plugins/AutoShutdown/src/watcher.cpp +++ b/plugins/AutoShutdown/src/watcher.cpp @@ -182,7 +182,7 @@ static BOOL CheckAllContactsOffline(void) if (db_get_b(hContact, pszProto, "ChatRoom", 0)) continue; if (db_get_w(hContact, pszProto, "Status", 0) != ID_STATUS_OFFLINE) { if (fSmartCheck) { - if (Clist_IsHidden(hContact)) continue; + if (Contact_IsHidden(hContact)) continue; if (db_get_b(hContact, "CList", "NotOnList", 0)) continue; } fAllOffline = FALSE; -- cgit v1.2.3