summaryrefslogtreecommitdiff
path: root/plugins/AutoShutdown
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-10-09 18:56:03 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-10-09 18:56:03 +0300
commiteec98453479bf86999060565ad90a63ff8f74942 (patch)
treec2dcb22ac74920b3cbcc96d2376dfcd77e9dcffc /plugins/AutoShutdown
parent09c39492686b504391db1bda59d3a3c246435534 (diff)
MS_CLIST_SETSTATUSMODE => Clist_SetStatusMode()
dunno how I could miss it
Diffstat (limited to 'plugins/AutoShutdown')
-rw-r--r--plugins/AutoShutdown/src/shutdownsvc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/AutoShutdown/src/shutdownsvc.cpp b/plugins/AutoShutdown/src/shutdownsvc.cpp
index 547efe82fa..095c55d25b 100644
--- a/plugins/AutoShutdown/src/shutdownsvc.cpp
+++ b/plugins/AutoShutdown/src/shutdownsvc.cpp
@@ -155,7 +155,7 @@ static DWORD ShutdownNow(BYTE shutdownType)
case SDSDT_SETMIRANDAOFFLINE:
/* set global status mode to offline (is remembered by Miranda on exit) */
- CallService(MS_CLIST_SETSTATUSMODE, (WPARAM)ID_STATUS_OFFLINE, 0);
+ Clist_SetStatusMode(ID_STATUS_OFFLINE);
break;
case SDSDT_STANDBY: