From f60c78abfbd5f279b30de729046b805bba8e00b0 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 7 Apr 2018 20:14:21 +0300 Subject: Proto_GetStatus is used everywhere instead of PS_GETSTATUS --- plugins/SimpleAR/src/Main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/SimpleAR/src') diff --git a/plugins/SimpleAR/src/Main.cpp b/plugins/SimpleAR/src/Main.cpp index 0ffc1ffefc..13bf7cd492 100644 --- a/plugins/SimpleAR/src/Main.cpp +++ b/plugins/SimpleAR/src/Main.cpp @@ -145,7 +145,7 @@ INT addEvent(WPARAM hContact, LPARAM hDBEvent) return FALSE; /// unspecifyed error char* pszProto = GetContactProto(hContact); - int status = CallProtoService(pszProto, PS_GETSTATUS, 0, 0); + int status = Proto_GetStatus(pszProto); if (status == ID_STATUS_ONLINE || status == ID_STATUS_FREECHAT || status == ID_STATUS_INVISIBLE) return FALSE; -- cgit v1.2.3