diff options
Diffstat (limited to 'plugins/AuthState/src')
-rw-r--r-- | plugins/AuthState/src/main.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/AuthState/src/main.cpp b/plugins/AuthState/src/main.cpp index e4da8decb0..29d8456739 100644 --- a/plugins/AuthState/src/main.cpp +++ b/plugins/AuthState/src/main.cpp @@ -156,18 +156,18 @@ int onModulesLoaded(WPARAM, LPARAM) for (auto &hContact : Contacts())
onExtraImageApplying((WPARAM)hContact, 1);
- HookEvent(ME_OPT_INITIALISE, onOptInitialise);
HookEvent(ME_CLIST_PREBUILDCONTACTMENU, onPrebuildContactMenu);
-
return 0;
}
int CMPlugin::Load()
{
- HookEvent(ME_SYSTEM_MODULESLOADED, onModulesLoaded);
+ HookEvent(ME_DB_CONTACT_ADDED, onDBContactAdded);
HookEvent(ME_DB_CONTACT_SETTINGCHANGED, onContactSettingChanged);
HookEvent(ME_CLIST_EXTRA_IMAGE_APPLY, onExtraImageApplying);
- HookEvent(ME_DB_CONTACT_ADDED, onDBContactAdded);
+ HookEvent(ME_OPT_INITIALISE, onOptInitialise);
+ HookEvent(ME_SYSTEM_MODULESLOADED, onModulesLoaded);
+
CreateServiceFunction("AuthState/MenuItem", onAuthMenuSelected);
CMenuItem mi(&g_plugin);
|