diff options
author | George Hazan <ghazan@miranda.im> | 2023-01-29 17:44:55 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2023-01-29 17:44:55 +0300 |
commit | 7feec12561efcc27c316101952a6de24e1264472 (patch) | |
tree | 86180d3bb0274a89baeb52652090f3bcaee06bd4 /protocols/IRCG | |
parent | 028cfd8ccf136c08b224d6dbf6b30f28d9430c4c (diff) |
shitty event control logic went from the core to IRC
Diffstat (limited to 'protocols/IRCG')
-rw-r--r-- | protocols/IRCG/src/tools.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/protocols/IRCG/src/tools.cpp b/protocols/IRCG/src/tools.cpp index 89dff93034..56ecbf6ebf 100644 --- a/protocols/IRCG/src/tools.cpp +++ b/protocols/IRCG/src/tools.cpp @@ -388,6 +388,8 @@ INT_PTR CIrcProto::DoEvent(int iEvent, const wchar_t *pszWindow, const wchar_t * GCEVENT gce = {};
if (pszWindow)
gce.si = Chat_Find(pszWindow, m_szModuleName);
+ else if (iEvent == GC_EVENT_INFORMATION || iEvent == GC_EVENT_NOTICE)
+ gce.si = Chat_Find(SERVERWINDOW, m_szModuleName);
else {
gce.pszModule = m_szModuleName;
gce.dwFlags |= GCEF_BROADCAST;
|