diff options
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;
|