summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/src/main.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-01-17 18:02:15 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-01-17 18:02:15 +0300
commit288bda66073faeaa0f329d95b26482a9d2868c34 (patch)
tree41e4801cd513e729d2dc41da21be3d8e158a2999 /protocols/FacebookRM/src/main.cpp
parentb68362e4ca9a176bde960f20dce76822e0a5dd0e (diff)
that hook must be called upon ME_SYSTEM_MODULESLOADED event
Diffstat (limited to 'protocols/FacebookRM/src/main.cpp')
-rw-r--r--protocols/FacebookRM/src/main.cpp2
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();