summaryrefslogtreecommitdiff
path: root/plugins/ListeningTo
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/ListeningTo')
-rw-r--r--plugins/ListeningTo/commons.h1
-rw-r--r--plugins/ListeningTo/listeningto.cpp6
2 files changed, 3 insertions, 4 deletions
diff --git a/plugins/ListeningTo/commons.h b/plugins/ListeningTo/commons.h
index d0a9fc5b0c..56fa318a0e 100644
--- a/plugins/ListeningTo/commons.h
+++ b/plugins/ListeningTo/commons.h
@@ -80,7 +80,6 @@ Boston, MA 02111-1307, USA.
// Global Variables
extern HINSTANCE hInst;
-extern PLUGINLINK *pluginLink;
extern BOOL loaded;
diff --git a/plugins/ListeningTo/listeningto.cpp b/plugins/ListeningTo/listeningto.cpp
index a6609486ee..2ce9c8ecc5 100644
--- a/plugins/ListeningTo/listeningto.cpp
+++ b/plugins/ListeningTo/listeningto.cpp
@@ -52,7 +52,7 @@ PLUGININFOEX pluginInfo={
HINSTANCE hInst;
-PLUGINLINK *pluginLink;
+
static std::vector<HANDLE> hHooks;
static std::vector<HANDLE> hServices;
@@ -130,9 +130,9 @@ extern "C" __declspec(dllexport) const MUUID* MirandaPluginInterfaces(void)
return interfaces;
}
-extern "C" int __declspec(dllexport) Load(PLUGINLINK *link)
+extern "C" int __declspec(dllexport) Load(void)
{
- pluginLink = link;
+
mir_getLP(&pluginInfo);
CHECK_VERSION("Listening To")