summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--stopspam/headers.h3
-rw-r--r--stopspam/src/stopspam.cpp5
2 files changed, 4 insertions, 4 deletions
diff --git a/stopspam/headers.h b/stopspam/headers.h
index 8282e4d..cfeb7ac 100644
--- a/stopspam/headers.h
+++ b/stopspam/headers.h
@@ -7,7 +7,8 @@
// disable warnings about underscore in stdc functions
#pragma warning(disable: 4996)
-#define MIRANDA_VER 0x0800
+#define MIRANDA_VER 0x0900
+#define MIRANDA_CUSTOM_LP
#include <windows.h>
#include <stdio.h>
diff --git a/stopspam/src/stopspam.cpp b/stopspam/src/stopspam.cpp
index ed1f203..1006482 100644
--- a/stopspam/src/stopspam.cpp
+++ b/stopspam/src/stopspam.cpp
@@ -1,11 +1,9 @@
#include "../headers.h"
struct MM_INTERFACE mmi;
-
UTF8_INTERFACE utfi;
-
HANDLE hFunc, hTempRemove;
-
+int hLangpack;
/////////////////////////////////////////////////////////////////////////////////////////
// returns plugin's extended information
@@ -64,6 +62,7 @@ extern "C" int __declspec(dllexport) Load(PLUGINLINK *link)
{
CLISTMENUITEM mi;
pluginLink = link;
+ mir_getLP(&pluginInfoEx);
mir_getMMI(&mmi);
mir_getUTFI(&utfi);