summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2023-05-21 13:56:23 +0300
committerGeorge Hazan <george.hazan@gmail.com>2023-05-21 13:56:23 +0300
commitec8a7614a371f41937dc1dbc2d53289e45706e3a (patch)
treee5937361b3a7ce11eb9b1dbba9debc2d5c1b7339 /protocols
parentd93053e9cca314179eea3fff202a32f8ec74b770 (diff)
static function pfnGetEvent removed from CLIST_INTERFACE
Diffstat (limited to 'protocols')
-rw-r--r--protocols/ICQ-WIM/src/utils.cpp2
-rw-r--r--protocols/IRCG/src/clist.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/protocols/ICQ-WIM/src/utils.cpp b/protocols/ICQ-WIM/src/utils.cpp
index 83d876adb0..4c5d494115 100644
--- a/protocols/ICQ-WIM/src/utils.cpp
+++ b/protocols/ICQ-WIM/src/utils.cpp
@@ -380,7 +380,7 @@ void CIcqProto::EmailNotification(const wchar_t *pwszText)
mir_snprintf(szServiceFunction, "%s%s", m_szModuleName, PS_DUMMY);
int i = 0;
- while (CLISTEVENT *pcle = g_clistApi.pfnGetEvent(-1, i++))
+ while (auto *pcle = Clist_GetEvent(-1, i++))
if (!mir_strcmp(pcle->pszService, szServiceFunction))
return;
diff --git a/protocols/IRCG/src/clist.cpp b/protocols/IRCG/src/clist.cpp
index c3f24b5dfd..e8bdb1a5b3 100644
--- a/protocols/IRCG/src/clist.cpp
+++ b/protocols/IRCG/src/clist.cpp
@@ -73,7 +73,7 @@ BOOL CIrcProto::CList_AddDCCChat(const CMStringW& name, const CMStringW& hostmas
cle.szTooltip.w = szNick;
cle.lParam = (LPARAM)pdci;
- if (g_clistApi.pfnGetEvent(hContact, 0))
+ if (Clist_GetEvent(hContact, 0))
g_clistApi.pfnRemoveEvent(hContact, -100);
g_clistApi.pfnAddEvent(&cle);
}