From 66ab99eb5b5c47a01e1cc6613af07426abbeb19b Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 27 May 2018 14:52:20 +0300 Subject: unused variable CHAT_MANAGER *pci removed and replaced with g_chatApi --- protocols/SkypeWeb/src/main.cpp | 2 -- protocols/SkypeWeb/src/skype_chatrooms.cpp | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'protocols/SkypeWeb') diff --git a/protocols/SkypeWeb/src/main.cpp b/protocols/SkypeWeb/src/main.cpp index 1f280d8763..cb8fe9e898 100644 --- a/protocols/SkypeWeb/src/main.cpp +++ b/protocols/SkypeWeb/src/main.cpp @@ -18,7 +18,6 @@ along with this program. If not, see . #include "stdafx.h" CMPlugin g_plugin; -CHAT_MANAGER *pci; char g_szMirVer[100]; HANDLE g_hCallEvent; @@ -62,7 +61,6 @@ int CSkypeProto::OnModulesLoaded(WPARAM, LPARAM) extern "C" int __declspec(dllexport) Load(void) { - pci = Chat_GetInterface(); Miranda_GetVersionText(g_szMirVer, sizeof(g_szMirVer)); CSkypeProto::InitIcons(); diff --git a/protocols/SkypeWeb/src/skype_chatrooms.cpp b/protocols/SkypeWeb/src/skype_chatrooms.cpp index 1e0401e648..b19d812c29 100644 --- a/protocols/SkypeWeb/src/skype_chatrooms.cpp +++ b/protocols/SkypeWeb/src/skype_chatrooms.cpp @@ -34,7 +34,7 @@ void CSkypeProto::InitGroupChatModule() MCONTACT CSkypeProto::FindChatRoom(const char *chatname) { - SESSION_INFO *si = pci->SM_FindSession(_A2T(chatname), m_szModuleName); + SESSION_INFO *si = g_chatApi.SM_FindSession(_A2T(chatname), m_szModuleName); return si ? si->hContact : 0; } -- cgit v1.2.3