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/AVS/src/poll.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/AVS/src') diff --git a/plugins/AVS/src/poll.cpp b/plugins/AVS/src/poll.cpp index 940d44f184..03135f35d2 100644 --- a/plugins/AVS/src/poll.cpp +++ b/plugins/AVS/src/poll.cpp @@ -75,7 +75,7 @@ void UninitPolls() static BOOL PollProtocolCanHaveAvatar(const char *szProto) { int pCaps = CallProtoService(szProto, PS_GETCAPS, PFLAGNUM_4, 0); - int status = CallProtoService(szProto, PS_GETSTATUS, 0, 0); + int status = Proto_GetStatus(szProto); return (pCaps & PF4_AVATARS) && mir_strcmp(META_PROTO, szProto) && ((status > ID_STATUS_OFFLINE && status != ID_STATUS_INVISIBLE) || Proto_IsFetchingWhenProtoNotVisibleAllowed(szProto)); } -- cgit v1.2.3