summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/stduserinfo/src/userinfo.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/stduserinfo/src/userinfo.cpp b/src/core/stduserinfo/src/userinfo.cpp
index 457cd949a5..7782eab3fb 100644
--- a/src/core/stduserinfo/src/userinfo.cpp
+++ b/src/core/stduserinfo/src/userinfo.cpp
@@ -555,8 +555,8 @@ public:
m_infosUpdated = NULL;
}
- if (m_hContact != NULL)
- if (!ProtoChainSend(m_hContact, PSS_GETINFO, 0, 0)) {
+ if (const char *szProto = GetProto())
+ if (!CallContactService(m_hContact, szProto, PSS_GETINFO)) {
btnUpdate.Disable();
ShowWindow(GetDlgItem(m_hwnd, IDC_UPDATING), SW_SHOW);
updateTimer.Start(100);