summaryrefslogtreecommitdiff
path: root/protocols/Skype/src/skype_hooks.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2013-04-29 05:05:06 +0000
committerAlexander Lantsev <aunsane@gmail.com>2013-04-29 05:05:06 +0000
commit68aeed54fb2c7c7d10c192a99c25d0a0c870b017 (patch)
treec6d0056480519c69823db8374fcde3eb72b4eef5 /protocols/Skype/src/skype_hooks.cpp
parentf0ca17cf986fc21dd98037a4599e85437261d5de (diff)
- added new db event type
- added new icons - fixed few bugs git-svn-id: http://svn.miranda-ng.org/main/trunk@4565 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
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()