summaryrefslogtreecommitdiff
path: root/plugins/Ping/src
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Ping/src')
-rw-r--r--plugins/Ping/src/utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Ping/src/utils.cpp b/plugins/Ping/src/utils.cpp
index 8eb2002532..f1882181dc 100644
--- a/plugins/Ping/src/utils.cpp
+++ b/plugins/Ping/src/utils.cpp
@@ -28,7 +28,7 @@ void CALLBACK sttMainThreadCallback(ULONG_PTR dwParam)
void __stdcall ShowPopup(wchar_t *line1, wchar_t *line2, int flags)
{
- if (CallService(MS_SYSTEM_TERMINATED, 0, 0)) return;
+ if (Miranda_IsTerminated()) return;
if (ServiceExists(MS_POPUP_ADDPOPUPCLASS)) {
ShowClassPopupT("pingpopups", line1, line2);