From e441a31e9f912fc8e9244d16560565559b1924d2 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 27 Sep 2019 23:43:06 +0300 Subject: end of manual experiments with CList/NotOnList --- plugins/SimpleAR/src/Main.cpp | 2 +- plugins/SimpleAR/src/stdafx.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'plugins/SimpleAR/src') diff --git a/plugins/SimpleAR/src/Main.cpp b/plugins/SimpleAR/src/Main.cpp index d189657681..2ae24b208e 100644 --- a/plugins/SimpleAR/src/Main.cpp +++ b/plugins/SimpleAR/src/Main.cpp @@ -157,7 +157,7 @@ INT addEvent(WPARAM hContact, LPARAM hDBEvent) return FALSE; mir_free(ptszVal); - if (db_get_b(hContact, "CList", "NotOnList", 0)) + if (!Contact_OnList(hContact)) return FALSE; if (g_plugin.getByte(hContact, "TurnedOn")) diff --git a/plugins/SimpleAR/src/stdafx.h b/plugins/SimpleAR/src/stdafx.h index afbf46a9e4..fe18a6c968 100644 --- a/plugins/SimpleAR/src/stdafx.h +++ b/plugins/SimpleAR/src/stdafx.h @@ -5,6 +5,7 @@ #include #include +#include #include #include #include -- cgit v1.2.3