summaryrefslogtreecommitdiff
path: root/plugins/AddContactPlus/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/AddContactPlus/src/main.cpp')
-rw-r--r--plugins/AddContactPlus/src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/AddContactPlus/src/main.cpp b/plugins/AddContactPlus/src/main.cpp
index ea7a8cc5db..9c80075431 100644
--- a/plugins/AddContactPlus/src/main.cpp
+++ b/plugins/AddContactPlus/src/main.cpp
@@ -79,7 +79,7 @@ static int OnAccListChanged(WPARAM, LPARAM)
Proto_EnumAccounts(&iRealAccCount, &pAccounts);
for (int i = 0; i < iRealAccCount; i++) {
- if (!Proto_IsAccountEnabled(pAccounts[i]))
+ if (!pAccounts[i]->IsEnabled())
continue;
DWORD dwCaps = (DWORD)CallProtoService(pAccounts[i]->szModuleName, PS_GETCAPS, PFLAGNUM_1, 0);