From 5289388e941bbdeca3d380c2f1044228e3397bc0 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 20 Mar 2014 14:47:13 +0000 Subject: db_mc_enable, db_mc_isEnabled - new functions to detect whether MC are used git-svn-id: http://svn.miranda-ng.org/main/trunk@8666 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/modules/metacontacts/meta_options.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/metacontacts/meta_options.cpp') diff --git a/src/modules/metacontacts/meta_options.cpp b/src/modules/metacontacts/meta_options.cpp index 382f83d446..1346f0b049 100644 --- a/src/modules/metacontacts/meta_options.cpp +++ b/src/modules/metacontacts/meta_options.cpp @@ -160,7 +160,7 @@ int Meta_WriteOptions(MetaOptions *opt) int Meta_ReadOptions(MetaOptions *opt) { - opt->bEnabled = db_get_b(NULL, META_PROTO, "Enabled", true) != 0; + db_mc_enable(db_get_b(NULL, META_PROTO, "Enabled", true) != 0); opt->bSuppressStatus = db_get_b(NULL, META_PROTO, "SuppressStatus", true) != 0; opt->menu_contact_label = (int)db_get_w(NULL, META_PROTO, "MenuContactLabel", DNT_UID); opt->menu_function = (int)db_get_w(NULL, META_PROTO, "MenuContactFunction", FT_MENU); -- cgit v1.2.3