diff options
Diffstat (limited to 'plugins/Variables/src/parse_metacontacts.cpp')
| -rw-r--r-- | plugins/Variables/src/parse_metacontacts.cpp | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Variables/src/parse_metacontacts.cpp b/plugins/Variables/src/parse_metacontacts.cpp index 8831e7a192..9bf44fb4c3 100644 --- a/plugins/Variables/src/parse_metacontacts.cpp +++ b/plugins/Variables/src/parse_metacontacts.cpp @@ -51,7 +51,7 @@ static TCHAR *parseGetParent(ARGUMENTSINFO *ai)  	TCHAR* res = NULL;
  	TCHAR* szUniqueID = NULL;
 -	char* szProto = (char *)CallService(MS_PROTO_GETCONTACTBASEPROTO, (WPARAM)hContact, 0);
 +	char* szProto = GetContactProto(hContact);
  	if (szProto != NULL)
  		szUniqueID = getContactInfoT(CNF_UNIQUEID, hContact);
 @@ -112,7 +112,7 @@ static TCHAR *parseGetDefault(ARGUMENTSINFO *ai)  	TCHAR* res = NULL;
  	TCHAR* szUniqueID = NULL;
 -	char* szProto = (char *)CallService(MS_PROTO_GETCONTACTBASEPROTO, (WPARAM)hContact, 0);
 +	char* szProto = GetContactProto(hContact);
  	if (szProto != NULL)
  		szUniqueID = getContactInfoT(CNF_UNIQUEID, hContact);
 @@ -172,7 +172,7 @@ static TCHAR *parseGetMostOnline(ARGUMENTSINFO *ai)  	TCHAR* res = NULL;
  	TCHAR* szUniqueID = NULL;
 -	char* szProto = (char *)CallService(MS_PROTO_GETCONTACTBASEPROTO, (WPARAM)hContact, 0);
 +	char* szProto = GetContactProto(hContact);
  	if (szProto != NULL)
  		szUniqueID = getContactInfoT(CNF_UNIQUEID, hContact);
  | 
