summaryrefslogtreecommitdiff
path: root/protocols/Tox/src/tox_services.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Tox/src/tox_services.cpp')
-rw-r--r--protocols/Tox/src/tox_services.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Tox/src/tox_services.cpp b/protocols/Tox/src/tox_services.cpp
index c5ead26307..8ea301c6fa 100644
--- a/protocols/Tox/src/tox_services.cpp
+++ b/protocols/Tox/src/tox_services.cpp
@@ -9,7 +9,7 @@ INT_PTR CToxProto::SetMyNickname(WPARAM wParam, LPARAM lParam)
{
T2Utf szNick8(nickname);
TOX_ERR_SET_INFO error;
- if (!tox_self_set_name(toxThread->tox, szNick8, mir_strlen(szNick8), &error))
+ if (!tox_self_set_name(toxThread->Tox(), szNick8, mir_strlen(szNick8), &error))
logger->Log(__FUNCTION__": failed to set nick name");
}