summaryrefslogtreecommitdiff
path: root/src/core/modules.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-07-06 22:57:01 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-07-06 22:57:01 +0000
commitb1cadddb5d631f8fed3ffee3fd0842d9bb86664e (patch)
tree1141a3cc0a795bd9f49c2c82e70c6f7925e6e447 /src/core/modules.cpp
parent75822327172aac61e3834ebdeb91f799c210345c (diff)
revert previous change
git-svn-id: http://svn.miranda-ng.org/main/trunk@805 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/core/modules.cpp')
-rw-r--r--src/core/modules.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/modules.cpp b/src/core/modules.cpp
index a18c758f3d..462d6b27c3 100644
--- a/src/core/modules.cpp
+++ b/src/core/modules.cpp
@@ -57,6 +57,7 @@ int LoadAddContactModule(void); // ui: authcontrol contacts
int LoadUtilsModule(void); // ui: utils (has a few window classes, like HyperLink)
int LoadCLCModule(void); // window class: CLC control
int LoadButtonModule(void); // window class: button class
+int LoadContactsModule(void); // random: contact
int LoadFontserviceModule(void); // ui: font manager
int LoadIcoLibModule(void); // ui: icons manager
int LoadServiceModePlugin(void);
@@ -117,6 +118,7 @@ int LoadDefaultModules(void)
NetlibInitSsl();
if ( LoadProtocolsModule()) return 1;
LoadDbAccounts(); // retrieves the account array from a database
+ if ( LoadContactsModule()) return 1;
if ( LoadContactListModule()) return 1;
if ( LoadAddContactModule()) return 1;
if ( LoadNewPluginsModule()) return 1; // will call Load(void) on everything, clist will load first
@@ -131,7 +133,7 @@ int LoadDefaultModules(void)
if ( LoadIgnoreModule()) return 1;
if ( LoadVisibilityModule()) return 1;
- for (int i=0; i < 10; i++) {
+ for (int i=1; i < 10; i++) {
if ( pluginDefault[i].pImpl )
continue;