From d03dc638581eacc36630ac22767f4d479fe8a0ff Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 31 Jul 2012 11:55:51 +0000 Subject: fix #2 for launching service plugins git-svn-id: http://svn.miranda-ng.org/main/trunk@1284 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/modules/plugins/newplugins.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/modules') 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); } } } -- cgit v1.2.3