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/SkypeStatusChange/src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/SkypeStatusChange') diff --git a/plugins/SkypeStatusChange/src/main.cpp b/plugins/SkypeStatusChange/src/main.cpp index a5c6fe37e1..819896be8f 100644 --- a/plugins/SkypeStatusChange/src/main.cpp +++ b/plugins/SkypeStatusChange/src/main.cpp @@ -98,7 +98,7 @@ int SSC_OnProtocolAck(WPARAM, LPARAM lParam) return 0; if (!g_Options.IsProtocolExcluded(pAckData->szModule)) { - int nStatus = CallProtoService(pAckData->szModule, PS_GETSTATUS, 0, 0); + int nStatus = Proto_GetStatus(pAckData->szModule); for (size_t i = 0; i < _countof(g_aStatusCode); ++i) { const CMirandaStatus2SkypeStatus& ms = g_aStatusCode[i]; if (ms.m_nMirandaStatus == nStatus) { -- cgit v1.2.3