From e145db68fb5b7d0682a4b2be0174cebfe47dd74e Mon Sep 17 00:00:00 2001
From: George Hazan <ghazan@miranda.im>
Date: Fri, 13 Jan 2017 00:01:59 +0300
Subject: a bit less netlib services

---
 protocols/Tox/src/tox_core.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'protocols/Tox/src')

diff --git a/protocols/Tox/src/tox_core.cpp b/protocols/Tox/src/tox_core.cpp
index 89687f69d4..7ac8d3a55b 100644
--- a/protocols/Tox/src/tox_core.cpp
+++ b/protocols/Tox/src/tox_core.cpp
@@ -15,8 +15,8 @@ Tox_Options* CToxProto::GetToxOptions()
 
 	if (m_hNetlibUser != NULL)
 	{
-		NETLIBUSERSETTINGS nlus = { sizeof(NETLIBUSERSETTINGS) };
-		CallService(MS_NETLIB_GETUSERSETTINGS, (WPARAM)m_hNetlibUser, (LPARAM)&nlus);
+		NETLIBUSERSETTINGS nlus = { sizeof(nlus) };
+		Netlib_GetUserSettings(m_hNetlibUser, &nlus);
 
 		if (nlus.useProxy)
 		{
-- 
cgit v1.2.3