summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/stdmsg/src/chat_manager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/stdmsg/src/chat_manager.cpp b/src/core/stdmsg/src/chat_manager.cpp
index 3afa17bccc..913c3d0987 100644
--- a/src/core/stdmsg/src/chat_manager.cpp
+++ b/src/core/stdmsg/src/chat_manager.cpp
@@ -121,14 +121,14 @@ static void OnFlashWindow(SESSION_INFO *si, int bInactive)
static BOOL DoTrayIcon(SESSION_INFO *si, GCEVENT *gce)
{
- if (gce->pDest->iType & g_Settings.dwTrayIconFlags)
+ if (gce->iType & g_Settings.dwTrayIconFlags)
return oldDoTrayIcon(si, gce);
return TRUE;
}
static BOOL DoPopup(SESSION_INFO *si, GCEVENT *gce)
{
- if (gce->pDest->iType & g_Settings.dwPopupFlags)
+ if (gce->iType & g_Settings.dwPopupFlags)
return oldDoPopup(si, gce);
return TRUE;
}