summaryrefslogtreecommitdiff
path: root/protocols/Tox/src/tox_proto.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-03-23 13:30:42 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-03-23 13:30:42 +0300
commit7ec9441d255b4361be26705c65eed5819cd0208f (patch)
treea9dcfa765475648a6c5d7dfaf92b901f916b7c21 /protocols/Tox/src/tox_proto.cpp
parent93249b0dec5639fa1c438da3e3289b65bf04c1de (diff)
Clist_GroupCreate() to be called inside OnModulesLoaded, not inside the protocol's constructor
Diffstat (limited to 'protocols/Tox/src/tox_proto.cpp')
-rw-r--r--protocols/Tox/src/tox_proto.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/protocols/Tox/src/tox_proto.cpp b/protocols/Tox/src/tox_proto.cpp
index 4b0a8581a2..0de30278a4 100644
--- a/protocols/Tox/src/tox_proto.cpp
+++ b/protocols/Tox/src/tox_proto.cpp
@@ -12,8 +12,7 @@ CToxProto::CToxProto(const char* protoName, const wchar_t* userName)
m_defaultGroup = getWStringA(TOX_SETTINGS_GROUP);
if (m_defaultGroup == nullptr)
m_defaultGroup = mir_wstrdup(L"Tox");
- Clist_GroupCreate(0, m_defaultGroup);
-
+
CreateProtoService(PS_CREATEACCMGRUI, &CToxProto::OnAccountManagerInit);
setAllContactStatuses(ID_STATUS_OFFLINE);