summaryrefslogtreecommitdiff
path: root/protocols/Twitter/src/proto.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Twitter/src/proto.cpp')
-rw-r--r--protocols/Twitter/src/proto.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/protocols/Twitter/src/proto.cpp b/protocols/Twitter/src/proto.cpp
index 5f9aca161e..4d00afc349 100644
--- a/protocols/Twitter/src/proto.cpp
+++ b/protocols/Twitter/src/proto.cpp
@@ -30,7 +30,6 @@ TwitterProto::TwitterProto(const char *proto_name, const wchar_t *username) :
PROTO<TwitterProto>(proto_name, username)
{
CreateProtoService(PS_CREATEACCMGRUI, &TwitterProto::SvcCreateAccMgrUI);
- CreateProtoService(PS_GETNAME, &TwitterProto::GetName);
CreateProtoService(PS_GETSTATUS, &TwitterProto::GetStatus);
CreateProtoService(PS_JOINCHAT, &TwitterProto::OnJoinChat);
@@ -206,12 +205,6 @@ INT_PTR TwitterProto::SvcCreateAccMgrUI(WPARAM, LPARAM lParam)
return (INT_PTR)CreateDialogParam(g_hInstance, MAKEINTRESOURCE(IDD_TWITTERACCOUNT), (HWND)lParam, first_run_dialog, (LPARAM)this);
}
-INT_PTR TwitterProto::GetName(WPARAM wParam, LPARAM lParam)
-{
- mir_strncpy(reinterpret_cast<char*>(lParam), m_szModuleName, (int)wParam);
- return 0;
-}
-
INT_PTR TwitterProto::GetStatus(WPARAM, LPARAM)
{
return m_iStatus;