summaryrefslogtreecommitdiff
path: root/protocols/Skype/src/skype_hooks.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Skype/src/skype_hooks.cpp')
-rw-r--r--protocols/Skype/src/skype_hooks.cpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/protocols/Skype/src/skype_hooks.cpp b/protocols/Skype/src/skype_hooks.cpp
index 9fb927f1a2..6a2e9073d7 100644
--- a/protocols/Skype/src/skype_hooks.cpp
+++ b/protocols/Skype/src/skype_hooks.cpp
@@ -18,8 +18,13 @@ void CSkypeProto::UninitHookList()
void CSkypeProto::InitInstanceHookList()
{
- this->HookEvent(ME_OPT_INITIALISE, &CSkypeProto::OnOptionsInit);
- this->HookEvent(ME_USERINFO_INITIALISE, &CSkypeProto::OnUserInfoInit);
+ this->instanceHookList.insert(
+ this->HookEvent(ME_OPT_INITIALISE, &CSkypeProto::OnOptionsInit));
+ this->instanceHookList.insert(
+ this->HookEvent(ME_USERINFO_INITIALISE, &CSkypeProto::OnUserInfoInit));
+
+ this->instanceHookList.insert(
+ this->HookEvent(ME_MSG_PRECREATEEVENT, &CSkypeProto::OnMessagePreCreate));
}
void CSkypeProto::UninitInstanceHookList()