diff options
author | George Hazan <ghazan@miranda.im> | 2018-11-12 20:12:53 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-11-12 20:12:53 +0300 |
commit | 488214ac8af0c4aeb1a5c1d8fd48368daaf4c4c7 (patch) | |
tree | 96b0db981b4f5054f24d484902b597ba7da1c1a5 /plugins/AuthState/src | |
parent | 9b35784c5042984fbb60785f0a4a41a64af545f6 (diff) |
end of ME_OPT_INITIALISE related zoo in another plugins
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);
|