diff options
author | George Hazan <ghazan@miranda.im> | 2018-03-28 10:30:12 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-03-28 10:30:12 +0300 |
commit | 798128b9ab4c6de67321af80f1d338ed206e7064 (patch) | |
tree | dc78c372a712ca026ba49145453f3f67ca06d26a /src | |
parent | 37a61502be9d19eb89efd2c8c0cbe0debe968333 (diff) |
fix for StdClist loading (thx Corak for quick reporting)
Diffstat (limited to 'src')
-rw-r--r-- | src/mir_app/src/newplugins.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mir_app/src/newplugins.cpp b/src/mir_app/src/newplugins.cpp index fe84b8e321..3978b14dd8 100644 --- a/src/mir_app/src/newplugins.cpp +++ b/src/mir_app/src/newplugins.cpp @@ -568,7 +568,9 @@ bool TryLoadPlugin(pluginEntry *p, bool bDynamic) }
}
- if (!p->bLoaded) {
+ // contact list is loaded via clistlink, db - via DATABASELINK
+ // so we should call Load() only for usual plugins
+ if (!p->bLoaded && !p->bIsClist && !p->bIsDatabase) {
RegisterModule(p->bpi.hInst);
if (p->bpi.Load() != 0)
return false;
|