diff options
author | George Hazan <ghazan@miranda.im> | 2019-01-17 18:02:15 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-01-17 18:02:15 +0300 |
commit | 288bda66073faeaa0f329d95b26482a9d2868c34 (patch) | |
tree | 41e4801cd513e729d2dc41da21be3d8e158a2999 /protocols/FacebookRM/src | |
parent | b68362e4ca9a176bde960f20dce76822e0a5dd0e (diff) |
that hook must be called upon ME_SYSTEM_MODULESLOADED event
Diffstat (limited to 'protocols/FacebookRM/src')
-rw-r--r-- | protocols/FacebookRM/src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/FacebookRM/src/main.cpp b/protocols/FacebookRM/src/main.cpp index ec84f62346..e53a72310a 100644 --- a/protocols/FacebookRM/src/main.cpp +++ b/protocols/FacebookRM/src/main.cpp @@ -67,7 +67,7 @@ int CMPlugin::Load() {
HookEvent(ME_SYSTEM_MODULELOAD, OnModuleLoaded);
HookEvent(ME_SYSTEM_MODULEUNLOAD, OnModuleLoaded);
- OnModuleLoaded(0, 0);
+ HookEvent(ME_SYSTEM_MODULESLOADED, OnModuleLoaded);
InitIcons();
InitContactMenus();
|