summaryrefslogtreecommitdiff
path: root/src/core/modules.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-08-10 10:35:58 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-08-10 10:35:58 +0000
commit21549db08d22a6e41443799b917525da1dbf9853 (patch)
treed59e22f8b74510294b9e644719015461a4c5a003 /src/core/modules.cpp
parent9bce64a32ea9d903797a27bb06b9919c11bbe596 (diff)
- SRMM, Chat & Clist_Classic made standard
git-svn-id: http://svn.miranda-ng.org/main/trunk@1422 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/core/modules.cpp')
-rw-r--r--src/core/modules.cpp13
1 files changed, 3 insertions, 10 deletions
diff --git a/src/core/modules.cpp b/src/core/modules.cpp
index 5969fdcd0e..645f238872 100644
--- a/src/core/modules.cpp
+++ b/src/core/modules.cpp
@@ -64,7 +64,8 @@ int LoadFontserviceModule(void); // ui: font manager
int LoadIcoLibModule(void); // ui: icons manager
int LoadServiceModePlugin(void);
int LoadDefaultServiceModePlugin(void);
-int LoadErrorsModule();
+int LoadErrorsModule(void);
+int LoadStdPlugins(void);
void UnloadUtilsModule(void);
void UnloadButtonModule(void);
@@ -156,15 +157,7 @@ int LoadDefaultModules(void)
if ( LoadFindAddModule()) return 1;
if ( LoadIgnoreModule()) return 1;
if ( LoadVisibilityModule()) return 1;
-
- for (int i=0; i < 11; i++) {
- if ( pluginDefault[i].pImpl )
- continue;
-
- if ( !LoadCorePlugin(pluginDefault[i]))
- return 1;
- }
-
+ if ( LoadStdPlugins()) return 1;
return 0;
}