summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2022-08-04 16:42:57 +0300
committerGeorge Hazan <ghazan@miranda.im>2022-08-04 16:43:06 +0300
commit4cb450857e40d6c61f1346801c40374e7f1b0d10 (patch)
treeec9caf512d7bddb4db260a24bfd1bc565494955f
parent11c0c274b2516540771c71be69f9903591f436ae (diff)
fixes #3141 (Miranda should not offer metacontact creation if meta support is disabled)
-rw-r--r--plugins/Clist_modern/src/modern_clc.cpp2
1 files changed, 1 insertions, 1 deletions
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];