summaryrefslogtreecommitdiff
path: root/protocols/Tox/src/tox_account.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2014-10-04 03:12:21 +0000
committerAlexander Lantsev <aunsane@gmail.com>2014-10-04 03:12:21 +0000
commit8b242ddc84896c59f2a53cbfe37f94b275238a7c (patch)
tree8781a4cb3dda81072814d0518f70a37fe0db1fa6 /protocols/Tox/src/tox_account.cpp
parent6a3c12bfd2a1829ac537a3b615d42c1e956a0586 (diff)
Tox: code reordering
git-svn-id: http://svn.miranda-ng.org/main/trunk@10681 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Tox/src/tox_account.cpp')
-rw-r--r--protocols/Tox/src/tox_account.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/protocols/Tox/src/tox_account.cpp b/protocols/Tox/src/tox_account.cpp
index 0262ba774e..97c659909b 100644
--- a/protocols/Tox/src/tox_account.cpp
+++ b/protocols/Tox/src/tox_account.cpp
@@ -13,9 +13,6 @@ int CToxProto::OnAccountLoaded(WPARAM, LPARAM)
HookProtoEvent(ME_DB_CONTACT_SETTINGCHANGED, &CToxProto::OnSettingsChanged);
HookProtoEvent(ME_MSG_PRECREATEEVENT, &CToxProto::OnPreCreateMessage);
- InitNetlib();
- InitToxCore();
-
return 0;
}
@@ -33,14 +30,6 @@ int CToxProto::OnAccountRenamed(WPARAM, LPARAM lParam)
return 0;
}
-int CToxProto::OnAccountUnloaded(WPARAM, LPARAM)
-{
- UninitToxCore();
- UninitNetlib();
-
- return 0;
-}
-
void CToxProto::InitToxCore()
{
std::tstring profilePath = GetToxProfilePath();