summaryrefslogtreecommitdiff
path: root/plugins/QuickMessages
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/QuickMessages')
-rw-r--r--plugins/QuickMessages/src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/QuickMessages/src/main.cpp b/plugins/QuickMessages/src/main.cpp
index a9a530efdd..e43b9b3fcb 100644
--- a/plugins/QuickMessages/src/main.cpp
+++ b/plugins/QuickMessages/src/main.cpp
@@ -258,7 +258,6 @@ static int CustomButtonPressed(WPARAM, LPARAM lParam)
static int PluginInit(WPARAM, LPARAM)
{
g_bStartup = 1;
- HookEvent(ME_OPT_INITIALISE, OptionsInit);
HookEvent(ME_MSG_BUTTONPRESSED, CustomButtonPressed);
HookEvent(ME_MSG_WINDOWPOPUP, InputMenuPopup);
@@ -279,5 +278,6 @@ int CMPlugin::Load()
{
HookEvent(ME_SYSTEM_MODULESLOADED, PluginInit);
HookEvent(ME_SYSTEM_PRESHUTDOWN, PreShutdown);
+ HookEvent(ME_OPT_INITIALISE, OptionsInit);
return 0;
}