summaryrefslogtreecommitdiff
path: root/plugins/ZeroNotification/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/ZeroNotification/src/main.cpp')
-rw-r--r--plugins/ZeroNotification/src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/ZeroNotification/src/main.cpp b/plugins/ZeroNotification/src/main.cpp
index 66ca7a1903..b92f20bc6a 100644
--- a/plugins/ZeroNotification/src/main.cpp
+++ b/plugins/ZeroNotification/src/main.cpp
@@ -118,7 +118,7 @@ static int ProtoAck(WPARAM, LPARAM lParam)
if (ack->type == ACKTYPE_STATUS && ack->result == ACKRESULT_SUCCESS) {
long status = 0;
for (auto &pa : Accounts())
- status = status | Proto_Status2Flag(CallProtoService(pa->szModuleName, PS_GETSTATUS, 0, 0));
+ status = status | Proto_Status2Flag(Proto_GetStatus(pa->szModuleName));
SetNotify(status);
}