summaryrefslogtreecommitdiff
path: root/src/modules/visibility/visibility.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/visibility/visibility.cpp')
-rw-r--r--src/modules/visibility/visibility.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/visibility/visibility.cpp b/src/modules/visibility/visibility.cpp
index 8f7172dbaa..c6d02a148e 100644
--- a/src/modules/visibility/visibility.cpp
+++ b/src/modules/visibility/visibility.cpp
@@ -111,7 +111,7 @@ static void SetAllContactIcons(HWND hwndList)
if (hItem) {
DWORD flags;
WORD status;
- char *szProto = (char*)CallService(MS_PROTO_GETCONTACTBASEPROTO, (WPARAM)hContact, 0);
+ char *szProto = GetContactProto(hContact);
if (szProto == NULL) {
flags = 0;
status = 0;