diff options
Diffstat (limited to 'src/modules/plugins')
-rw-r--r-- | src/modules/plugins/newplugins.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/modules/plugins/newplugins.cpp b/src/modules/plugins/newplugins.cpp index 6be0b7976e..8aa5dfb41a 100644 --- a/src/modules/plugins/newplugins.cpp +++ b/src/modules/plugins/newplugins.cpp @@ -257,6 +257,12 @@ LBL_Error: }
bpi->Interfaces = (MUUID*) GetProcAddress(h, "MirandaInterfaces");
+ if (bpi->Interfaces == NULL) {
+ typedef MUUID * (__cdecl * Miranda_Plugin_Interfaces) (void);
+ Miranda_Plugin_Interfaces pFunc = (Miranda_Plugin_Interfaces)GetProcAddress(h, "MirandaPluginInterfaces");
+ if (pFunc)
+ bpi->Interfaces = pFunc();
+ }
PLUGININFOEX* pi = bpi->InfoEx(mirandaVersion);
if (!checkPI(bpi, pi))
|