summaryrefslogtreecommitdiff
path: root/src/core/modules.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-02-27 13:51:27 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-02-27 13:51:27 +0000
commit65c6790a7463df68854d14917de26b101d35553f (patch)
tree1eb9ae9242ae3a596da76031c51c680a3febd2fd /src/core/modules.cpp
parent5f8a607f900a42e27bf166b86185001aadf3e9f2 (diff)
minor code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@8294 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/core/modules.cpp')
-rw-r--r--src/core/modules.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/core/modules.cpp b/src/core/modules.cpp
index b38bf3bad6..3111bc9e7d 100644
--- a/src/core/modules.cpp
+++ b/src/core/modules.cpp
@@ -150,7 +150,9 @@ int LoadDefaultModules(void)
if (LoadContactsModule()) return 1;
if (LoadContactListModule()) return 1; // prepare contact list interface
if (LoadAddContactModule()) return 1;
- // if (LoadMetacontacts()) return 1;
+ #ifdef _DEBUG
+ if (LoadMetacontacts()) return 1;
+ #endif
if (LoadNewPluginsModule()) return 1; // will call Load(void) on everything, clist will load first
Langpack_SortDuplicates();
@@ -169,7 +171,9 @@ void UnloadDefaultModules(void)
{
UnloadChatModule();
UnloadAccountsModule();
- // UnloadMetacontacts();
+ #ifdef _DEBUG
+ UnloadMetacontacts();
+ #endif
UnloadNewPlugins();
UnloadProtocolsModule();
UnloadSkinSounds();