summaryrefslogtreecommitdiff
path: root/plugins/HistorySweeperLight/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/HistorySweeperLight/main.c')
-rw-r--r--plugins/HistorySweeperLight/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/HistorySweeperLight/main.c b/plugins/HistorySweeperLight/main.c
index e658b19015..f82ca35366 100644
--- a/plugins/HistorySweeperLight/main.c
+++ b/plugins/HistorySweeperLight/main.c
@@ -28,6 +28,7 @@ PLUGINLINK *pluginLink;
struct MM_INTERFACE mmi;
static HANDLE hHooks[5];
+int hLangpack;
static PLUGININFOEX pluginInfoEx =
{
@@ -164,6 +165,7 @@ int __declspec(dllexport) Load(PLUGINLINK *link)
pluginLink = link;
mir_getMMI(&mmi);
+ mir_getLP(&pluginInfoEx);
hHooks[0] = HookEvent(ME_SYSTEM_MODULESLOADED, OnModulesLoaded);
hHooks[1] = HookEvent(ME_OPT_INITIALISE, HSOptInitialise);