diff options
Diffstat (limited to 'protocols/IRCG/src/clist.cpp')
-rw-r--r-- | protocols/IRCG/src/clist.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/IRCG/src/clist.cpp b/protocols/IRCG/src/clist.cpp index cd52f2297f..22be4d9471 100644 --- a/protocols/IRCG/src/clist.cpp +++ b/protocols/IRCG/src/clist.cpp @@ -73,9 +73,9 @@ BOOL CIrcProto::CList_AddDCCChat(const CMString& name, const CMString& hostmask, cle.ptszTooltip = szNick;
cle.lParam = (LPARAM)pdci;
- if (CallService(MS_CLIST_GETEVENT, hContact, 0))
- CallService(MS_CLIST_REMOVEEVENT, hContact, -100);
- CallService(MS_CLIST_ADDEVENT, hContact, (LPARAM)&cle);
+ if (pcli->pfnGetEvent(hContact, 0))
+ pcli->pfnRemoveEvent(hContact, -100);
+ pcli->pfnAddEvent(&cle);
}
return TRUE;
}
|