summaryrefslogtreecommitdiff
path: root/protocols/VKontakte/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2020-01-25 14:24:53 +0300
committerGeorge Hazan <ghazan@miranda.im>2020-01-25 14:24:53 +0300
commit9cca190bc3022311915eb1e95b3cc3bb89aed328 (patch)
treef0e27680e6dae1a0df044ae59ad86ccac59d0db7 /protocols/VKontakte/src
parentcf83f17e172253faf44737b8f4c27945e9f671e5 (diff)
massive code cleaning:
- GCHOOK structure normalized (i.e. inlined SESSION_INFO fields replaced with a reference to SESSION_INFO); - fake CMsgDialog declaration added to m_srmm_int.h, thus duplicated declarations in plugins aren't needed anymore - other minor changes
Diffstat (limited to 'protocols/VKontakte/src')
-rw-r--r--protocols/VKontakte/src/vk_chats.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/VKontakte/src/vk_chats.cpp b/protocols/VKontakte/src/vk_chats.cpp
index bdbd18462e..1668e2959b 100644
--- a/protocols/VKontakte/src/vk_chats.cpp
+++ b/protocols/VKontakte/src/vk_chats.cpp
@@ -453,10 +453,10 @@ int CVkProto::OnChatEvent(WPARAM, LPARAM lParam)
if (gch == nullptr)
return 0;
- if (mir_strcmpi(gch->pszModule, m_szModuleName))
+ if (mir_strcmpi(gch->si->pszModule, m_szModuleName))
return 0;
- CVkChatInfo *cc = GetChatById(gch->ptszID);
+ CVkChatInfo *cc = GetChatById(gch->si->ptszID);
if (cc == nullptr)
return 0;