From 8b242ddc84896c59f2a53cbfe37f94b275238a7c Mon Sep 17 00:00:00 2001 From: Alexander Lantsev Date: Sat, 4 Oct 2014 03:12:21 +0000 Subject: Tox: code reordering git-svn-id: http://svn.miranda-ng.org/main/trunk@10681 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Tox/src/tox_account.cpp | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'protocols/Tox/src/tox_account.cpp') 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(); -- cgit v1.2.3