summaryrefslogtreecommitdiff
path: root/protocols/LotusNotify
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2024-01-24 13:38:10 +0300
committerGeorge Hazan <george.hazan@gmail.com>2024-01-24 13:38:10 +0300
commit0fa39189ae1eea51681d472db38a290bc4df1cfe (patch)
treec4c5c8f5970947ed6c62418fd86106166db485a2 /protocols/LotusNotify
parent60fec7a89a7870d52ebd76315193b105973b1219 (diff)
PS_GETNAME: another old atavism removed
Diffstat (limited to 'protocols/LotusNotify')
-rw-r--r--protocols/LotusNotify/src/LotusNotify.cpp11
1 files changed, 1 insertions, 10 deletions
diff --git a/protocols/LotusNotify/src/LotusNotify.cpp b/protocols/LotusNotify/src/LotusNotify.cpp
index 4c86622fa0..731fbc296d 100644
--- a/protocols/LotusNotify/src/LotusNotify.cpp
+++ b/protocols/LotusNotify/src/LotusNotify.cpp
@@ -847,15 +847,7 @@ INT_PTR GetCaps(WPARAM wParam, LPARAM)
return 0;
}
-//gives name to protocol module
-INT_PTR GetName(WPARAM wParam, LPARAM lParam)
-{
- strncpy((char *)lParam, MODULENAME, wParam);
- return 0;
-}
-
-
-//gives icon for proto module
+// gives icon for proto module
INT_PTR TMLoadIcon(WPARAM wParam, LPARAM)
{
UINT id;
@@ -1066,7 +1058,6 @@ int CMPlugin::Load()
g_plugin.setWord(hContact, "status", ID_STATUS_OFFLINE);
CreateProtoServiceFunction(MODULENAME, PS_GETCAPS, GetCaps);
- CreateProtoServiceFunction(MODULENAME, PS_GETNAME, GetName);
CreateProtoServiceFunction(MODULENAME, PS_LOADICON, TMLoadIcon);
CreateProtoServiceFunction(MODULENAME, PS_SETSTATUS, SetStatus);
CreateProtoServiceFunction(MODULENAME, PS_GETSTATUS, GetStatus);