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/MenuItemEx/src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/MenuItemEx/src/main.cpp') diff --git a/plugins/MenuItemEx/src/main.cpp b/plugins/MenuItemEx/src/main.cpp index c322ef8006..29a0aa89df 100644 --- a/plugins/MenuItemEx/src/main.cpp +++ b/plugins/MenuItemEx/src/main.cpp @@ -406,7 +406,7 @@ static INT_PTR CALLBACK AuthReqWndProc(HWND hdlg, UINT msg, WPARAM wparam, LPARA static BOOL isProtoOnline(char *szProto) { - DWORD protoStatus = CallProtoService(szProto, PS_GETSTATUS, 0, 0); + int protoStatus = Proto_GetStatus(szProto); return (protoStatus > ID_STATUS_OFFLINE && protoStatus < ID_STATUS_IDLE); } -- cgit v1.2.3