summaryrefslogtreecommitdiff
path: root/protocols/Discord/src/proto.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Discord/src/proto.cpp')
-rw-r--r--protocols/Discord/src/proto.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/protocols/Discord/src/proto.cpp b/protocols/Discord/src/proto.cpp
index e124ffe57f..358f4e7bf6 100644
--- a/protocols/Discord/src/proto.cpp
+++ b/protocols/Discord/src/proto.cpp
@@ -36,7 +36,6 @@ CDiscordProto::CDiscordProto(const char *proto_name, const wchar_t *username) :
arUsers(50, compareUsers)
{
// Services
- CreateProtoService(PS_GETNAME, &CDiscordProto::GetName);
CreateProtoService(PS_GETSTATUS, &CDiscordProto::GetStatus);
// Events
@@ -94,12 +93,6 @@ DWORD_PTR CDiscordProto::GetCaps(int type, MCONTACT)
return 0;
}
-INT_PTR CDiscordProto::GetName(WPARAM wParam, LPARAM lParam)
-{
- mir_strncpy((char*)lParam, m_szModuleName, (int)wParam);
- return 0;
-}
-
INT_PTR CDiscordProto::GetStatus(WPARAM, LPARAM)
{
return m_iStatus;