From e254312f9a660c83081ce2062ab14ba3c3614089 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 19 Sep 2017 14:12:58 +0300 Subject: useless structure GCDEST finally removed --- plugins/Scriver/src/chat_main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/Scriver') 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; } -- cgit v1.2.3