summaryrefslogtreecommitdiff
path: root/plugins/StatusChange/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/StatusChange/src/main.cpp')
-rw-r--r--plugins/StatusChange/src/main.cpp3
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);