From f60c78abfbd5f279b30de729046b805bba8e00b0 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 7 Apr 2018 20:14:21 +0300 Subject: Proto_GetStatus is used everywhere instead of PS_GETSTATUS --- protocols/Discord/src/proto.cpp | 6 ------ protocols/Discord/src/proto.h | 1 - 2 files changed, 7 deletions(-) (limited to 'protocols/Discord') diff --git a/protocols/Discord/src/proto.cpp b/protocols/Discord/src/proto.cpp index 8884cc0ff8..b4207c66f0 100644 --- a/protocols/Discord/src/proto.cpp +++ b/protocols/Discord/src/proto.cpp @@ -50,7 +50,6 @@ CDiscordProto::CDiscordProto(const char *proto_name, const wchar_t *username) : arUsers(10, compareUsers) { // Services - CreateProtoService(PS_GETSTATUS, &CDiscordProto::GetStatus); CreateProtoService(PS_CREATEACCMGRUI, &CDiscordProto::SvcCreateAccMgrUI); CreateProtoService(PS_GETAVATARINFO, &CDiscordProto::GetAvatarInfo); @@ -121,11 +120,6 @@ DWORD_PTR CDiscordProto::GetCaps(int type, MCONTACT) return 0; } -INT_PTR CDiscordProto::GetStatus(WPARAM, LPARAM) -{ - return m_iStatus; -} - int CDiscordProto::SetStatus(int iNewStatus) { debugLogA("CDiscordProto::SetStatus iNewStatus = %d, m_iStatus = %d, m_iDesiredStatus = %d m_hWorkerThread = %p", iNewStatus, m_iStatus, m_iDesiredStatus, m_hWorkerThread); diff --git a/protocols/Discord/src/proto.h b/protocols/Discord/src/proto.h index 49715cccd6..99fb50ecf6 100644 --- a/protocols/Discord/src/proto.h +++ b/protocols/Discord/src/proto.h @@ -283,7 +283,6 @@ public: // Services INT_PTR __cdecl SvcCreateAccMgrUI(WPARAM, LPARAM); - INT_PTR __cdecl GetStatus(WPARAM, LPARAM); INT_PTR __cdecl GetAvatarCaps(WPARAM, LPARAM); INT_PTR __cdecl GetAvatarInfo(WPARAM, LPARAM); -- cgit v1.2.3