summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb/src/skype_proto.cpp
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2015-08-14 11:21:27 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2015-08-14 11:21:27 +0000
commit57d7aea9d038519bfa7cf38e757105d730220e37 (patch)
tree11fede11a82b96b47201118e8d7145c226cbbc89 /protocols/SkypeWeb/src/skype_proto.cpp
parentebc91d7be8f31d98822b896852e40c341b614a48 (diff)
SkypeWeb: small fixes.
git-svn-id: http://svn.miranda-ng.org/main/trunk@14952 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src/skype_proto.cpp')
-rw-r--r--protocols/SkypeWeb/src/skype_proto.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/protocols/SkypeWeb/src/skype_proto.cpp b/protocols/SkypeWeb/src/skype_proto.cpp
index 39cc3d960f..731514871a 100644
--- a/protocols/SkypeWeb/src/skype_proto.cpp
+++ b/protocols/SkypeWeb/src/skype_proto.cpp
@@ -40,9 +40,6 @@ CSkypeProto::CSkypeProto(const char* protoName, const TCHAR* userName) :
if (dwAttributes == 0xffffffff || (dwAttributes & FILE_ATTRIBUTE_DIRECTORY) == 0)
CreateDirectoryTreeT(m_tszAvatarFolder.c_str());
- //hooks
- if (!m_hCallEvent) m_hCallEvent = CreateHookableEvent(MODULE "/IncomingCall");
-
//sounds
SkinAddNewSoundEx("skype_inc_call", "SkypeWeb", LPGEN("Incoming call sound"));
SkinAddNewSoundEx("skype_call_canceled", "SkypeWeb", LPGEN("Incoming call canceled sound"));
@@ -61,8 +58,6 @@ CSkypeProto::~CSkypeProto()
UninitPopups();
CloseHandle(m_hTrouterEvent); m_hTrouterEvent = NULL;
-
- if (m_hCallEvent && Accounts.getCount() == 0) DestroyHookableEvent(m_hCallEvent);
SkypeUnsetTimer();
}