From 93467b8c3702be5fc9f9b60c3ff6863cb37ccd8d Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Sat, 27 Sep 2014 09:25:36 +0000 Subject: encrypt tox profile (dont't work, crashed on tox_encrypted_load) git-svn-id: http://svn.miranda-ng.org/main/trunk@10612 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Tox/src/tox_proto.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'protocols/Tox/src/tox_proto.cpp') diff --git a/protocols/Tox/src/tox_proto.cpp b/protocols/Tox/src/tox_proto.cpp index 3016a400ee..0d3ab920f6 100644 --- a/protocols/Tox/src/tox_proto.cpp +++ b/protocols/Tox/src/tox_proto.cpp @@ -5,7 +5,8 @@ PROTO(protoName, userName) { accountName = mir_tstrdup(userName); - InitToxCore(); + if (this->getStringA("ToxID")) + InitToxCore(); CreateProtoService(PS_CREATEACCMGRUI, &CToxProto::OnAccountManagerInit); -- cgit v1.2.3