diff options
Diffstat (limited to 'plugins/BuddyExpectator/src/options.cpp')
-rw-r--r-- | plugins/BuddyExpectator/src/options.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/plugins/BuddyExpectator/src/options.cpp b/plugins/BuddyExpectator/src/options.cpp index badcc23d47..078d699eb4 100644 --- a/plugins/BuddyExpectator/src/options.cpp +++ b/plugins/BuddyExpectator/src/options.cpp @@ -560,14 +560,8 @@ int UserinfoInit(WPARAM wparam, LPARAM lparam) }
-HANDLE hEventOptInitialise;
void InitOptions()
{
LoadOptions();
- hEventOptInitialise = HookEvent(ME_OPT_INITIALISE, OptionsInit);
-}
-
-void DeinitOptions()
-{
- UnhookEvent(hEventOptInitialise);
+ HookEvent(ME_OPT_INITIALISE, OptionsInit);
}
|