summaryrefslogtreecommitdiff
path: root/src/modules/plugins/newplugins.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-08-14 17:35:00 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-08-14 17:35:00 +0000
commitc8f030d40167467070c30149209e5aeece10b915 (patch)
tree9a3d8f87809c83aa2c12b8231492b40a1b8aee71 /src/modules/plugins/newplugins.cpp
parent88fdd523bdf7cd891dbbac4b1ae7fb2ff597cea3 (diff)
больше гари - меньше ям
git-svn-id: http://svn.miranda-ng.org/main/trunk@1455 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/plugins/newplugins.cpp')
-rw-r--r--src/modules/plugins/newplugins.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/modules/plugins/newplugins.cpp b/src/modules/plugins/newplugins.cpp
index 3e05124b0f..9b6dbf22af 100644
--- a/src/modules/plugins/newplugins.cpp
+++ b/src/modules/plugins/newplugins.cpp
@@ -739,9 +739,7 @@ int LoadNewPluginsModule(void)
// if Crash Dumper is present, load it to provide Crash Reports
if (pluginList_crshdmp != NULL && isPluginOnWhiteList(pluginList_crshdmp->pluginname)) {
- if (pluginList_crshdmp->bpi.Load() == 0)
- pluginList_crshdmp->pclass |= PCLASS_LOADED | PCLASS_LAST;
- else
+ if ( !TryLoadPlugin(pluginList_crshdmp, false))
Plugin_Uninit(pluginList_crshdmp);
}