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/Nudge/src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/Nudge/src') diff --git a/plugins/Nudge/src/main.cpp b/plugins/Nudge/src/main.cpp index 3712093624..4770a71d76 100644 --- a/plugins/Nudge/src/main.cpp +++ b/plugins/Nudge/src/main.cpp @@ -104,7 +104,7 @@ int NudgeReceived(WPARAM hContact, LPARAM lParam) if (p->useIgnoreSettings && CallService(MS_IGNORE_ISIGNORED, hContact, IGNOREEVENT_USERONLINE)) return 0; - DWORD Status = CallProtoService(protoName, PS_GETSTATUS, 0, 0); + int Status = Proto_GetStatus(protoName); if (((p->statusFlags & NUDGE_ACC_ST0) && (Status <= ID_STATUS_OFFLINE)) || ((p->statusFlags & NUDGE_ACC_ST1) && (Status == ID_STATUS_ONLINE)) || -- cgit v1.2.3