diff options
author | George Hazan <george.hazan@gmail.com> | 2012-07-05 22:41:06 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-07-05 22:41:06 +0000 |
commit | e3cefc7b6ca803e3f87dbadae54a110332778490 (patch) | |
tree | 0ee41f14f962f946c9e64fae4a11fbcb197af853 /src/core/modules.cpp | |
parent | f0fb070eab8f276e66c0154363656045bc0dadb3 (diff) |
- first of the /Core standard plugins;
- code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@778 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/core/modules.cpp')
-rw-r--r-- | src/core/modules.cpp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/core/modules.cpp b/src/core/modules.cpp index d1636a09a0..d33fc47a84 100644 --- a/src/core/modules.cpp +++ b/src/core/modules.cpp @@ -146,7 +146,14 @@ int LoadDefaultModules(void) if ( LoadIgnoreModule()) return 1;
if ( LoadVisibilityModule()) return 1;
- if ( !pluginDefault[ 0].pImpl) if ( LoadUserInfoModule()) return 1;
+ for (int i=0; i < 1; i++) {
+ if ( pluginDefault[i].pImpl )
+ continue;
+
+ if ( !LoadCorePlugin(pluginDefault[i]))
+ return 1;
+ }
+
if ( !pluginDefault[ 1].pImpl) if ( LoadSendRecvUrlModule()) return 1;
if ( !pluginDefault[ 2].pImpl) if ( LoadSendRecvEMailModule()) return 1;
if ( !pluginDefault[ 3].pImpl) if ( LoadSendRecvAuthModule()) return 1;
@@ -157,6 +164,7 @@ int LoadDefaultModules(void) if ( !pluginDefault[ 8].pImpl) if ( LoadAutoAwayModule()) return 1;
if ( !pluginDefault[ 9].pImpl) if ( LoadUserOnlineModule()) return 1;
if ( !pluginDefault[10].pImpl) if ( LoadUpdateNotifyModule()) return 1;
+
return 0;
}
|