summaryrefslogtreecommitdiff
path: root/protocols/EmLanProto/src/amdproto.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/EmLanProto/src/amdproto.cpp')
-rw-r--r--protocols/EmLanProto/src/amdproto.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/protocols/EmLanProto/src/amdproto.cpp b/protocols/EmLanProto/src/amdproto.cpp
index 99746894a0..f4e04fee8c 100644
--- a/protocols/EmLanProto/src/amdproto.cpp
+++ b/protocols/EmLanProto/src/amdproto.cpp
@@ -106,7 +106,7 @@ static INT_PTR __cdecl EMPSendMessage(WPARAM, LPARAM lParam)
return g_lan->SendMessageUrl((CCSDATA*)lParam);
}
-static INT_PTR __cdecl EMPRecvMessageUrl(WPARAM, LPARAM lParam)
+static INT_PTR __cdecl EMPRecvMessage(WPARAM, LPARAM lParam)
{
g_lan->RecvMessageUrl((CCSDATA*)lParam);
return 0;
@@ -333,8 +333,7 @@ int CMPlugin::Load()
CreateProtoServiceFunction(MODULENAME, PS_BASICSEARCH, EMPBasicSearch);
CreateProtoServiceFunction(MODULENAME, PS_ADDTOLIST, EMPAddToList);
CreateProtoServiceFunction(MODULENAME, PSS_MESSAGE, EMPSendMessage);
- CreateProtoServiceFunction(MODULENAME, PSR_MESSAGE, EMPRecvMessageUrl);
- CreateProtoServiceFunction(MODULENAME, PSR_URL, EMPRecvMessageUrl);
+ CreateProtoServiceFunction(MODULENAME, PSR_MESSAGE, EMPRecvMessage);
CreateProtoServiceFunction(MODULENAME, PSS_GETAWAYMSG, EMPGetAwayMsg);
CreateProtoServiceFunction(MODULENAME, PS_SETAWAYMSG, EMPSetAwayMsg);
CreateProtoServiceFunction(MODULENAME, PSR_AWAYMSG, EMPRecvAwayMessage);