diff options
author | George Hazan <ghazan@miranda.im> | 2018-04-07 20:14:21 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-04-07 20:14:21 +0300 |
commit | f60c78abfbd5f279b30de729046b805bba8e00b0 (patch) | |
tree | 1120bba828b2151604e98163aa7a3fe221264068 /plugins/StatusChange | |
parent | 26a653ecae7edbeefb7966e08714e152c73b78eb (diff) |
Proto_GetStatus is used everywhere instead of PS_GETSTATUS
Diffstat (limited to 'plugins/StatusChange')
-rw-r--r-- | plugins/StatusChange/src/main.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/StatusChange/src/main.cpp b/plugins/StatusChange/src/main.cpp index 75f30ff4b5..350872570b 100644 --- a/plugins/StatusChange/src/main.cpp +++ b/plugins/StatusChange/src/main.cpp @@ -44,13 +44,12 @@ void LoadOptions() static int StatusChangeGetMessage(WPARAM, LPARAM hDbEvent)
{
- int status;
BOOL read, send, change_status;
DBEVENTINFO dbe = {};
db_event_get(hDbEvent, &dbe);
- status = (int)CallProtoService(dbe.szModule, PS_GETSTATUS, 0, 0);
+ int status = Proto_GetStatus(dbe.szModule);
if(!status)
status = CallService(MS_CLIST_GETSTATUSMODE, 0, 0);
|