summaryrefslogtreecommitdiff
path: root/protocols/IRCG/src/services.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/IRCG/src/services.cpp')
-rw-r--r--protocols/IRCG/src/services.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/IRCG/src/services.cpp b/protocols/IRCG/src/services.cpp
index acc55c5654..04a1ea6936 100644
--- a/protocols/IRCG/src/services.cpp
+++ b/protocols/IRCG/src/services.cpp
@@ -462,8 +462,8 @@ int __cdecl CIrcProto::GCEventHook(WPARAM, LPARAM lParam)
// handle the hook
if (gch) {
- if (!mir_strcmpi(gch->pszModule, m_szModuleName)) {
- wchar_t *p1 = mir_wstrdup(gch->ptszID);
+ if (!mir_strcmpi(gch->si->pszModule, m_szModuleName)) {
+ wchar_t *p1 = mir_wstrdup(gch->si->ptszID);
wchar_t *p2 = wcsstr(p1, L" - ");
if (p2)
*p2 = 0;