summaryrefslogtreecommitdiff
path: root/plugins/Scriver/src/chat_main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Scriver/src/chat_main.cpp')
-rw-r--r--plugins/Scriver/src/chat_main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Scriver/src/chat_main.cpp b/plugins/Scriver/src/chat_main.cpp
index 9840936d74..7be39fdf65 100644
--- a/plugins/Scriver/src/chat_main.cpp
+++ b/plugins/Scriver/src/chat_main.cpp
@@ -105,14 +105,14 @@ static void OnCreateModule(MODULEINFO *mi)
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;
}