diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2012-05-21 09:57:57 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2012-05-21 09:57:57 +0000 |
commit | c44981c03b71364fc42125594447d142ed9ed442 (patch) | |
tree | 4193d1a181c7c11eefc1c7fd033d564effb13af7 /plugins/StopSpamPlus/src/stopspam.cpp | |
parent | eec9900927f176139f99921964a87eb6bc4df780 (diff) |
StopSpam:
Unhook hooked event
git-svn-id: http://svn.miranda-ng.org/main/trunk@117 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/StopSpamPlus/src/stopspam.cpp')
-rw-r--r-- | plugins/StopSpamPlus/src/stopspam.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/StopSpamPlus/src/stopspam.cpp b/plugins/StopSpamPlus/src/stopspam.cpp index b61ea6039b..a6a6863505 100644 --- a/plugins/StopSpamPlus/src/stopspam.cpp +++ b/plugins/StopSpamPlus/src/stopspam.cpp @@ -2,7 +2,7 @@ struct MM_INTERFACE mmi;
UTF8_INTERFACE utfi;
-HANDLE hFunc, hTempRemove;
+HANDLE hFunc, hTempRemove, hLoadHook;
int hLangpack;
/////////////////////////////////////////////////////////////////////////////////////////
@@ -70,7 +70,7 @@ extern "C" int __declspec(dllexport) Load(PLUGINLINK *link) hFunc = CreateServiceFunction(MS_STOPSPAM_CONTACTPASSED, IsContactPassed);
- HookEvent(ME_SYSTEM_MODULESLOADED, OnSystemModulesLoaded);
+ hLoadHook = HookEvent(ME_SYSTEM_MODULESLOADED, OnSystemModulesLoaded);
// Add deliting temporary contacts
hTempRemove = CreateServiceFunction(MS_STOPSPAM_REMTEMPCONTACTS, RemoveTempContacts);
|