diff options
Diffstat (limited to 'protocols')
-rw-r--r-- | protocols/FacebookRM/src/main.cpp | 2 | ||||
-rw-r--r-- | protocols/VKontakte/src/main.cpp | 2 |
2 files changed, 2 insertions, 2 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();
diff --git a/protocols/VKontakte/src/main.cpp b/protocols/VKontakte/src/main.cpp index c304f57adb..79dbf4296d 100644 --- a/protocols/VKontakte/src/main.cpp +++ b/protocols/VKontakte/src/main.cpp @@ -60,7 +60,7 @@ int CMPlugin::Load() {
HookEvent(ME_SYSTEM_MODULELOAD, OnModuleLoaded);
HookEvent(ME_SYSTEM_MODULEUNLOAD, OnModuleLoaded);
- OnModuleLoaded(0, 0);
+ HookEvent(ME_SYSTEM_MODULESLOADED, OnModuleLoaded);
InitIcons();
return 0;
|