summaryrefslogtreecommitdiff
path: root/plugins/FirstRun/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/FirstRun/src/main.cpp')
-rw-r--r--plugins/FirstRun/src/main.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/plugins/FirstRun/src/main.cpp b/plugins/FirstRun/src/main.cpp
index dddf45c9c6..23a9867d1a 100644
--- a/plugins/FirstRun/src/main.cpp
+++ b/plugins/FirstRun/src/main.cpp
@@ -2,7 +2,6 @@
HINSTANCE hInst;
-HANDLE hModulesLoaded;
int hLangpack;
PLUGININFOEX pluginInfo={
@@ -50,14 +49,12 @@ extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD miranda
extern "C" __declspec(dllexport) int Load(void)
{
-
mir_getLP(&pluginInfo);
- hModulesLoaded = HookEvent(ME_SYSTEM_MODULESLOADED, ModulesLoaded);
+ HookEvent(ME_SYSTEM_MODULESLOADED, ModulesLoaded);
return 0;
}
extern "C" __declspec(dllexport) int Unload(void)
{
- UnhookEvent(hModulesLoaded);
return 0;
} \ No newline at end of file