summaryrefslogtreecommitdiff
path: root/plugins/Ping
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Ping')
-rw-r--r--plugins/Ping/src/pingthread.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Ping/src/pingthread.cpp b/plugins/Ping/src/pingthread.cpp
index 5e13f0b9b0..bf9372c0fa 100644
--- a/plugins/Ping/src/pingthread.cpp
+++ b/plugins/Ping/src/pingthread.cpp
@@ -72,13 +72,13 @@ void SetProtoStatus(char *pszLabel, char *pszProto, int if_status, int new_statu
}
} else {
if(ProtoServiceExists(pszProto, PS_GETSTATUS)) {
- if(CallProtoService(pszProto, PS_GETSTATUS, 0, 0) == if_status) {
+ if(ProtoCallService(pszProto, PS_GETSTATUS, 0, 0) == if_status) {
if(options.logging) {
char buf[1024];
mir_snprintf(buf, 1024, Translate("%s - setting status of protocol '%s' (%d)"), pszLabel, pszProto, new_status);
CallService(PLUG "/Log", (WPARAM)buf, 0);
}
- CallProtoService(pszProto, PS_SETSTATUS, new_status, 0);
+ ProtoCallService(pszProto, PS_SETSTATUS, new_status, 0);
}
}
}