diff options
-rw-r--r-- | protocols/JabberG/jabber.cpp | 7 | ||||
-rw-r--r-- | src/modules/plugins/newplugins.cpp | 2 |
2 files changed, 7 insertions, 2 deletions
diff --git a/protocols/JabberG/jabber.cpp b/protocols/JabberG/jabber.cpp index 479afdaa59..95ba8e06ef 100644 --- a/protocols/JabberG/jabber.cpp +++ b/protocols/JabberG/jabber.cpp @@ -90,12 +90,17 @@ static int sttCompareProtocols(const CJabberProto *p1, const CJabberProto *p2) LIST<CJabberProto> g_Instances(1, sttCompareProtocols);
/////////////////////////////////////////////////////////////////////////////
-extern "C" BOOL WINAPI DllMain( HINSTANCE hModule, DWORD, LPVOID )
+BOOL WINAPI DllMain( HINSTANCE hModule, DWORD, LPVOID )
{
hInst = hModule;
return TRUE;
}
+extern "C" __declspec( dllexport ) PLUGININFOEX *MirandaPluginInfoEx( DWORD mirandaVersion )
+{
+ return &pluginInfo;
+}
+
extern "C" __declspec(dllexport) const MUUID MirandaInterfaces[] = {MIID_PROTOCOL, MIID_LAST};
///////////////////////////////////////////////////////////////////////////////
diff --git a/src/modules/plugins/newplugins.cpp b/src/modules/plugins/newplugins.cpp index 3c27b63f22..76d16cbf6f 100644 --- a/src/modules/plugins/newplugins.cpp +++ b/src/modules/plugins/newplugins.cpp @@ -175,7 +175,7 @@ MUUID miid_servicemode = MIID_SERVICEMODE; static bool validInterfaceList(MUUID *piface)
{
if (piface == NULL)
- return false;
+ return true;
if (equalUUID(miid_last, piface[0]))
return false;
|