From 4cb450857e40d6c61f1346801c40374e7f1b0d10 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 4 Aug 2022 16:42:57 +0300 Subject: fixes #3141 (Miranda should not offer metacontact creation if meta support is disabled) --- plugins/Clist_modern/src/modern_clc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/Clist_modern/src/modern_clc.cpp b/plugins/Clist_modern/src/modern_clc.cpp index 972ed12f4d..e549d98f88 100644 --- a/plugins/Clist_modern/src/modern_clc.cpp +++ b/plugins/Clist_modern/src/modern_clc.cpp @@ -1094,7 +1094,7 @@ static LRESULT clcOnLButtonUp(ClcData *dat, HWND hwnd, UINT msg, WPARAM wParam, if (contSour->isChat() || contDest->isChat()) break; - if (contSour->type == CLCIT_CONTACT) { + if (contSour->type == CLCIT_CONTACT && db_mc_isEnabled()) { MCONTACT hcontact = contSour->hContact; if (mir_strcmp(contSour->pce->szProto, META_PROTO)) { wchar_t Wording[500]; -- cgit v1.2.3