summaryrefslogtreecommitdiff
path: root/src/core/stduseronline
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-05-27 14:57:51 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-05-27 14:57:51 +0300
commit9ec3c7e78e560356066b272ad7a38d3d333de1b5 (patch)
treee72efa33a5af633cc83503efd31bdbc17ebf781e /src/core/stduseronline
parent66ab99eb5b5c47a01e1cc6613af07426abbeb19b (diff)
global variable name standardization
Diffstat (limited to 'src/core/stduseronline')
-rw-r--r--src/core/stduseronline/src/useronline.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/stduseronline/src/useronline.cpp b/src/core/stduseronline/src/useronline.cpp
index 8a0980bbae..14adec2c65 100644
--- a/src/core/stduseronline/src/useronline.cpp
+++ b/src/core/stduseronline/src/useronline.cpp
@@ -42,7 +42,7 @@ static int UserOnlineSettingChanged(WPARAM hContact, LPARAM lParam)
int lastEvent = (int)db_get_dw(hContact, MODULENAME, "LastEvent", 0);
if (lastEvent) {
- g_CLI.pfnRemoveEvent(hContact, lastEvent);
+ g_clistApi.pfnRemoveEvent(hContact, lastEvent);
db_set_dw(hContact, MODULENAME, "LastEvent", 0);
}
}
@@ -62,7 +62,7 @@ static int UserOnlineSettingChanged(WPARAM hContact, LPARAM lParam)
cle.hIcon = Skin_LoadIcon(SKINICON_OTHER_USERONLINE, false);
cle.pszService = "UserOnline/Description";
cle.szTooltip.w = tooltip;
- g_CLI.pfnAddEvent(&cle);
+ g_clistApi.pfnAddEvent(&cle);
IcoLib_ReleaseIcon(cle.hIcon, 0);
db_set_dw(cle.hContact, MODULENAME, "LastEvent", (DWORD)cle.hDbEvent);
Skin_PlaySound(MODULENAME);