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/StatusChange/src/main.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'plugins/StatusChange/src') diff --git a/plugins/StatusChange/src/main.cpp b/plugins/StatusChange/src/main.cpp index 75f30ff4b5..350872570b 100644 --- a/plugins/StatusChange/src/main.cpp +++ b/plugins/StatusChange/src/main.cpp @@ -44,13 +44,12 @@ void LoadOptions() static int StatusChangeGetMessage(WPARAM, LPARAM hDbEvent) { - int status; BOOL read, send, change_status; DBEVENTINFO dbe = {}; db_event_get(hDbEvent, &dbe); - status = (int)CallProtoService(dbe.szModule, PS_GETSTATUS, 0, 0); + int status = Proto_GetStatus(dbe.szModule); if(!status) status = CallService(MS_CLIST_GETSTATUSMODE, 0, 0); -- cgit v1.2.3