summaryrefslogtreecommitdiff
path: root/plugins/NewEventNotify/src/main.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2022-06-22 18:59:31 +0300
committerGeorge Hazan <ghazan@miranda.im>2022-06-22 18:59:31 +0300
commit6c10f6b8b8564337fb5fb88d31f2403ec2ccce9e (patch)
tree254f2534c1f8e7f7dc928461160e5b9519fd3a8f /plugins/NewEventNotify/src/main.cpp
parentda5eb4e6c9725aca51f8de23a5cb89ee5b6b3087 (diff)
fixes #3108 (NewEventNotify shows message popup even if antispam is enabled)
Diffstat (limited to 'plugins/NewEventNotify/src/main.cpp')
-rw-r--r--plugins/NewEventNotify/src/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/NewEventNotify/src/main.cpp b/plugins/NewEventNotify/src/main.cpp
index 60692ec06b..d0ae746562 100644
--- a/plugins/NewEventNotify/src/main.cpp
+++ b/plugins/NewEventNotify/src/main.cpp
@@ -78,11 +78,11 @@ int HookedNewEvent(WPARAM hContact, LPARAM hDbEvent)
if (pei && pei->flags & DETF_NONOTIFY)
return 0;
- //if event was allready read don't show it
+ // if event was allready read don't show it
if (g_plugin.bReadCheck && (dbe.flags & DBEF_READ))
return 0;
- //is it an event sent by the user? -> don't show
+ // is it an event sent by the user? -> don't show
if (dbe.flags & DBEF_SENT) {
// JK, only message event, do not influence others
auto *pdata = PU_GetByContact(hContact, EVENTTYPE_MESSAGE);