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/Variables/src/parse_miranda.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/Variables/src') diff --git a/plugins/Variables/src/parse_miranda.cpp b/plugins/Variables/src/parse_miranda.cpp index 70c69418b5..e81a75d802 100644 --- a/plugins/Variables/src/parse_miranda.cpp +++ b/plugins/Variables/src/parse_miranda.cpp @@ -332,7 +332,7 @@ static wchar_t* parseMyStatus(ARGUMENTSINFO *ai) if (ai->argc == 1 || mir_wstrlen(ai->targv[1]) == 0) status = CallService(MS_CLIST_GETSTATUSMODE, 0, 0); else - status = CallProtoService(_T2A(ai->targv[1]), PS_GETSTATUS, 0, 0); + status = Proto_GetStatus(_T2A(ai->targv[1])); wchar_t *szStatus = Clist_GetStatusModeDescription(status, 0); return (szStatus != nullptr) ? mir_wstrdup(szStatus) : nullptr; -- cgit v1.2.3