summaryrefslogtreecommitdiff
path: root/protocols/IRCG/src/clist.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/IRCG/src/clist.cpp')
-rw-r--r--protocols/IRCG/src/clist.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/IRCG/src/clist.cpp b/protocols/IRCG/src/clist.cpp
index 2c0c9b0860..ff43d197c8 100644
--- a/protocols/IRCG/src/clist.cpp
+++ b/protocols/IRCG/src/clist.cpp
@@ -73,9 +73,9 @@ BOOL CIrcProto::CList_AddDCCChat(const CMStringW& name, const CMStringW& hostmas
cle.szTooltip.w = szNick;
cle.lParam = (LPARAM)pdci;
- if (pcli->pfnGetEvent(hContact, 0))
- pcli->pfnRemoveEvent(hContact, -100);
- pcli->pfnAddEvent(&cle);
+ if (g_CLI.pfnGetEvent(hContact, 0))
+ g_CLI.pfnRemoveEvent(hContact, -100);
+ g_CLI.pfnAddEvent(&cle);
}
return TRUE;
}