summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/SkypeWeb')
-rw-r--r--protocols/SkypeWeb/src/main.cpp2
-rw-r--r--protocols/SkypeWeb/src/skype_chatrooms.cpp2
2 files changed, 1 insertions, 3 deletions
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 <http://www.gnu.org/licenses/>.
#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;
}