From e7b69721b0d390cec3f81f97134a51bfef228cf8 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 28 Mar 2018 20:01:30 +0300 Subject: PFLAG_UNIQUEIDSETTING removed, its functionality transferred to Proto_SetUniqueId / Proto_GetUniqueId --- protocols/EmLanProto/src/amdproto.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'protocols/EmLanProto/src') diff --git a/protocols/EmLanProto/src/amdproto.cpp b/protocols/EmLanProto/src/amdproto.cpp index 366a508a84..8305850048 100644 --- a/protocols/EmLanProto/src/amdproto.cpp +++ b/protocols/EmLanProto/src/amdproto.cpp @@ -68,9 +68,6 @@ static INT_PTR __cdecl EMPGetCaps(WPARAM wParam, LPARAM) return PF2_SHORTAWAY | PF2_LONGAWAY | PF2_LIGHTDND | PF2_HEAVYDND | PF2_FREECHAT; case PFLAG_UNIQUEIDTEXT: return (INT_PTR)Translate("User name or '*'"); - case PFLAG_UNIQUEIDSETTING: - return (INT_PTR)"Nick"; - case PFLAG_MAXLENOFMESSAGE: //FIXME default: return 0; } @@ -371,6 +368,7 @@ struct CMPlugin : public CMPluginBase CMPluginBase(PROTONAME) { RegisterProtocol(PROTOTYPE_PROTOCOL); + SetUniqueId("Nick"); } } g_plugin; -- cgit v1.2.3