summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/stduserinfo/src/userinfo.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/stduserinfo/src/userinfo.cpp b/src/core/stduserinfo/src/userinfo.cpp
index 6227348757..d1deb514b9 100644
--- a/src/core/stduserinfo/src/userinfo.cpp
+++ b/src/core/stduserinfo/src/userinfo.cpp
@@ -576,6 +576,7 @@ int LoadUserInfoModule(void)
CreateServiceFunction("UserInfo/AddPage", AddDetailsPage);
CreateServiceFunction(MS_USERINFO_SHOWDIALOG, ShowDetailsDialogCommand);
+ // this event is already created inside the core, don't destroy it
hDetailsInitEvent = CreateHookableEvent(ME_USERINFO_INITIALISE);
HookEvent(ME_TTB_MODULELOADED, OnTopToolBarLoaded);