diff options
author | George Hazan <george.hazan@gmail.com> | 2012-07-31 11:55:51 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-07-31 11:55:51 +0000 |
commit | d03dc638581eacc36630ac22767f4d479fe8a0ff (patch) | |
tree | 3855348a55f088a9b13a4c722986bb6f69c21d3b /src/modules | |
parent | d8c403b9c2fc06a8ebcd214667ac92ed0f0bd1d2 (diff) |
fix #2 for launching service plugins
git-svn-id: http://svn.miranda-ng.org/main/trunk@1284 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/plugins/newplugins.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/plugins/newplugins.cpp b/src/modules/plugins/newplugins.cpp index 93a7673895..b03a5d8d34 100644 --- a/src/modules/plugins/newplugins.cpp +++ b/src/modules/plugins/newplugins.cpp @@ -634,8 +634,8 @@ int LoadServiceModePlugin() void EnsureCheckerLoaded(bool bEnable)
{
- for (int i=0; i < servicePlugins.getCount(); i++) {
- pluginEntry* p = servicePlugins[i];
+ for (int i=0; i < pluginList.getCount(); i++) {
+ pluginEntry* p = pluginList[i];
if ( _tcsicmp(p->pluginname, _T("dbchecker.dll")))
continue;
@@ -645,7 +645,7 @@ void EnsureCheckerLoaded(bool bEnable) Plugin_Uninit(p);
else {
p->pclass |= PCLASS_LOADED;
- servicePlugins.remove(i);
+ servicePlugins.remove(p);
}
}
}
|