summaryrefslogtreecommitdiff
path: root/plugins/HistoryStats/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/HistoryStats/src/main.cpp')
-rw-r--r--plugins/HistoryStats/src/main.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/HistoryStats/src/main.cpp b/plugins/HistoryStats/src/main.cpp
index b468dd96bf..7c5c88fb9f 100644
--- a/plugins/HistoryStats/src/main.cpp
+++ b/plugins/HistoryStats/src/main.cpp
@@ -11,6 +11,7 @@
#include "iconlib.h"
#include "dlgconfigure.h"
+CLIST_INTERFACE *pcli;
HINSTANCE g_hInst;
int hLangpack;
@@ -418,6 +419,9 @@ extern "C" __declspec(dllexport) const PLUGININFOEX* MirandaPluginInfoEx(DWORD)
extern "C" __declspec(dllexport) int Load()
{
+ mir_getLP(&g_pluginInfoEx);
+ mir_getCLI();
+
// init COM, needed for GUID generation
CoInitialize(NULL);