summaryrefslogtreecommitdiff
path: root/protocols/Tox/src/tox_account.cpp
diff options
context:
space:
mode:
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();