summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/src/main.cpp
diff options
context:
space:
mode:
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();