summaryrefslogtreecommitdiff
path: root/plugins/MirOTR/src/utils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/MirOTR/src/utils.cpp')
-rw-r--r--plugins/MirOTR/src/utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/MirOTR/src/utils.cpp b/plugins/MirOTR/src/utils.cpp
index d0447831d6..12d5d553ab 100644
--- a/plugins/MirOTR/src/utils.cpp
+++ b/plugins/MirOTR/src/utils.cpp
@@ -111,7 +111,7 @@ wchar_t* ProtoGetNickname(const char* proto)
}
void ShowPopup(const wchar_t* line1, const wchar_t* line2, int timeout, const MCONTACT hContact) {
- if(CallService(MS_SYSTEM_TERMINATED, 0, 0)) return;
+ if(Miranda_IsTerminated()) return;
if ( !options.bHavePopups) {
wchar_t title[256];