diff options
Diffstat (limited to 'plugins/NewStory/src/main.cpp')
-rw-r--r-- | plugins/NewStory/src/main.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/plugins/NewStory/src/main.cpp b/plugins/NewStory/src/main.cpp index 69a455ff93..59800536b0 100644 --- a/plugins/NewStory/src/main.cpp +++ b/plugins/NewStory/src/main.cpp @@ -11,8 +11,6 @@ #include "stdafx.h" -HANDLE hhkModulesLoaded = 0, hhkOptInitialise = 0, hhkTTBLoaded = 0; - CMPlugin g_plugin; ///////////////////////////////////////////////////////////////////////////////////////// @@ -104,13 +102,12 @@ int CMPlugin::Load() CreateServiceFunction(MS_HISTORY_SHOWCONTACTHISTORY, svcShowNewstory); CreateServiceFunction("Newstory/System", svcShowSystemNewstory); - hhkModulesLoaded = HookEvent(ME_SYSTEM_MODULESLOADED, evtModulesLoaded); + HookEvent(ME_SYSTEM_MODULESLOADED, evtModulesLoaded); return 0; } int CMPlugin::Unload() { - UnhookEvent(hhkModulesLoaded); FreeHistory(); return 0; } |