summaryrefslogtreecommitdiff
path: root/plugins/FirstRun
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-03-06 22:12:20 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-03-06 22:12:20 +0000
commit9de0202a0b12838d505825413c3cbcce5edabc11 (patch)
tree6f1f707f3e17c19e5cd08745e76c5299f9ba827b /plugins/FirstRun
parent4e3088029101cc1e9bbc46984910a47bc0530e8f (diff)
cleanup of the unnecessary UnhookEvent() calls
git-svn-id: http://svn.miranda-ng.org/main/trunk@3909 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/FirstRun')
-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