summaryrefslogtreecommitdiff
path: root/plugins/Clist_nicer/src/cluiservices.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Clist_nicer/src/cluiservices.cpp')
-rw-r--r--plugins/Clist_nicer/src/cluiservices.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Clist_nicer/src/cluiservices.cpp b/plugins/Clist_nicer/src/cluiservices.cpp
index 7f88c7b9fe..c5567303d9 100644
--- a/plugins/Clist_nicer/src/cluiservices.cpp
+++ b/plugins/Clist_nicer/src/cluiservices.cpp
@@ -106,7 +106,7 @@ void CluiProtocolStatusChanged(int, const char*)
// count down since built in ones tend to go at the end
partCount = 0;
for (int i = 0; i < accs.getCount(); i++) {
- int idx = pcli->pfnGetAccountIndexByPos(i);
+ int idx = Clist_GetAccountIndex(i);
if (idx == -1)
continue;
@@ -151,7 +151,7 @@ void CluiProtocolStatusChanged(int, const char*)
char *szMaxProto = nullptr;
partCount = 0;
for (int i = 0; i < accs.getCount(); i++) {
- int idx = pcli->pfnGetAccountIndexByPos(i);
+ int idx = Clist_GetAccountIndex(i);
if (idx == -1)
continue;