summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-02-15 20:21:39 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-02-15 20:21:39 +0300
commitacd9edbd6413e9ff25378bd4e2cbc515d2a620f7 (patch)
tree24dda4e9ba2bf72c130d5ee42a7a44af16982c61 /src
parenta3c95404f5e1dff8c0ba4634f86522ee4c6ad2cc (diff)
GCEF_SILENT - the special flag to suppress any event logging
Diffstat (limited to 'src')
-rw-r--r--src/mir_app/src/chat_svc.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mir_app/src/chat_svc.cpp b/src/mir_app/src/chat_svc.cpp
index c5ca2b9255..a3412dadd5 100644
--- a/src/mir_app/src/chat_svc.cpp
+++ b/src/mir_app/src/chat_svc.cpp
@@ -540,6 +540,9 @@ EXTERN_C MIR_APP_DLL(int) Chat_Event(GCEVENT *gce)
// add to log
if (pWnd) {
+ if (gce->dwFlags & GCEF_SILENT)
+ return 0;
+
SESSION_INFO *si = chatApi.SM_FindSession(pWnd, pMod);
// fix for IRC's old style mode notifications. Should not affect any other protocol