summaryrefslogtreecommitdiff
path: root/plugins/StatusManager/src
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/StatusManager/src')
-rw-r--r--plugins/StatusManager/src/commonstatus.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/StatusManager/src/commonstatus.cpp b/plugins/StatusManager/src/commonstatus.cpp
index a0e7e0f7a4..a35b8496da 100644
--- a/plugins/StatusManager/src/commonstatus.cpp
+++ b/plugins/StatusManager/src/commonstatus.cpp
@@ -308,7 +308,7 @@ static INT_PTR GetProtocolCountService(WPARAM, LPARAM)
bool IsSuitableProto(PROTOACCOUNT *pa)
{
- return (pa == nullptr) ? false : (pcli->pfnGetProtocolVisibility(pa->szModuleName) != 0);
+ return (pa == nullptr) ? false : pa->IsVisible();
}
static int CreateServices()