diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2014-09-27 18:39:23 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2014-09-27 18:39:23 +0000 |
commit | 05b7974f9c3c5222a6ebc01ec4895081ef6459e2 (patch) | |
tree | 9c1a0af5a8950642f51bd13e74966116df9f42b1 /protocols/Tox/src/tox_proto.cpp | |
parent | 4896bb4af6312343cec0ade365e9bf8115c50ffc (diff) |
temp fix for creating profile
git-svn-id: http://svn.miranda-ng.org/main/trunk@10615 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Tox/src/tox_proto.cpp')
-rw-r--r-- | protocols/Tox/src/tox_proto.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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<CToxProto>(protoName, userName) {
accountName = mir_tstrdup(userName);
- InitToxCore();
+ if (this->getStringA("ToxID"))
+ InitToxCore();
CreateProtoService(PS_CREATEACCMGRUI, &CToxProto::OnAccountManagerInit);
|