diff options
author | George Hazan <ghazan@miranda.im> | 2018-03-23 13:30:42 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-03-23 13:30:42 +0300 |
commit | 7ec9441d255b4361be26705c65eed5819cd0208f (patch) | |
tree | a9dcfa765475648a6c5d7dfaf92b901f916b7c21 /protocols/Tox/src/tox_accounts.cpp | |
parent | 93249b0dec5639fa1c438da3e3289b65bf04c1de (diff) |
Clist_GroupCreate() to be called inside OnModulesLoaded, not inside the protocol's constructor
Diffstat (limited to 'protocols/Tox/src/tox_accounts.cpp')
-rw-r--r-- | protocols/Tox/src/tox_accounts.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/protocols/Tox/src/tox_accounts.cpp b/protocols/Tox/src/tox_accounts.cpp index ad948974a8..d70d6bad54 100644 --- a/protocols/Tox/src/tox_accounts.cpp +++ b/protocols/Tox/src/tox_accounts.cpp @@ -32,6 +32,8 @@ CToxProto* CToxProto::GetContactAccount(MCONTACT hContact) int CToxProto::OnAccountLoaded(WPARAM, LPARAM)
{
+ Clist_GroupCreate(0, m_defaultGroup);
+
HookProtoEvent(ME_OPT_INITIALISE, &CToxProto::OnOptionsInit);
HookProtoEvent(ME_USERINFO_INITIALISE, &CToxProto::OnUserInfoInit);
HookProtoEvent(ME_MSG_PRECREATEEVENT, &CToxProto::OnPreCreateMessage);
|