From 44525f461757fc859616fda16820351b07238842 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 27 Jun 2019 21:23:35 +0300 Subject: manual access to CList/Group restricted --- plugins/Variables/src/contact.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/Variables') diff --git a/plugins/Variables/src/contact.cpp b/plugins/Variables/src/contact.cpp index 411df6581b..8c8144a665 100644 --- a/plugins/Variables/src/contact.cpp +++ b/plugins/Variables/src/contact.cpp @@ -150,7 +150,7 @@ wchar_t* getContactInfoT(BYTE type, MCONTACT hContact) return nullptr; case CCNF_GROUP: - if ((res = db_get_wsa(hContact, "CList", "Group")) != nullptr) + if ((res = Clist_GetGroup(hContact)) != nullptr) return res; break; -- cgit v1.2.3