diff options
author | George Hazan <ghazan@miranda.im> | 2017-10-09 18:56:03 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-10-09 18:56:03 +0300 |
commit | eec98453479bf86999060565ad90a63ff8f74942 (patch) | |
tree | c2dcb22ac74920b3cbcc96d2376dfcd77e9dcffc /plugins/NewAwaySysMod/src | |
parent | 09c39492686b504391db1bda59d3a3c246435534 (diff) |
MS_CLIST_SETSTATUSMODE => Clist_SetStatusMode()
dunno how I could miss it
Diffstat (limited to 'plugins/NewAwaySysMod/src')
-rw-r--r-- | plugins/NewAwaySysMod/src/Services.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/NewAwaySysMod/src/Services.cpp b/plugins/NewAwaySysMod/src/Services.cpp index 36ecd5a7ab..f2884ee947 100644 --- a/plugins/NewAwaySysMod/src/Services.cpp +++ b/plugins/NewAwaySysMod/src/Services.cpp @@ -41,7 +41,7 @@ __inline void PSSetStatus(char *szProto, WORD Status, int bNoClistSetStatusMode CallProtoService(szProto, PS_SETSTATUS, Status, 0);
else if (!bNoClistSetStatusMode) { // global status
g_fNoProcessing = true;
- CallService(MS_CLIST_SETSTATUSMODE, Status, 0);
+ Clist_SetStatusMode(Status);
_ASSERT(!g_fNoProcessing && g_ProtoStates[(char*)NULL].m_status == Status);
g_fNoProcessing = false;
}
@@ -64,7 +64,7 @@ INT_PTR SetStatusMode(WPARAM wParam, LPARAM lParam) // called by GamerStatus and {
LogMessage("MS_AWAYSYS_SETSTATUSMODE called. status=%d, szMsg:\n%s", wParam, lParam ? (char*)lParam : "NULL");
g_fNoProcessing = true;
- CallService(MS_CLIST_SETSTATUSMODE, wParam, 0);
+ Clist_SetStatusMode(wParam);
_ASSERT(!g_fNoProcessing && g_ProtoStates[(char*)NULL].m_status == wParam);
g_fNoProcessing = false;
|