summaryrefslogtreecommitdiff
path: root/protocols/Tox/src/tox_events.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2015-01-07 21:40:06 +0000
committerAlexander Lantsev <aunsane@gmail.com>2015-01-07 21:40:06 +0000
commit4cf5a9ef45a6f6172e93c1f84bcbab22be00e0a4 (patch)
tree320b0e8f323ac90bb22e9a792bf5ecc25d7a1cf6 /protocols/Tox/src/tox_events.cpp
parent6c61dc812b9a5382c282f3e61111516fff562c0e (diff)
Tox: enabled profile encryption
git-svn-id: http://svn.miranda-ng.org/main/trunk@11790 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Tox/src/tox_events.cpp')
-rw-r--r--protocols/Tox/src/tox_events.cpp17
1 files changed, 0 insertions, 17 deletions
diff --git a/protocols/Tox/src/tox_events.cpp b/protocols/Tox/src/tox_events.cpp
index 789ac6039e..0f577dcdb7 100644
--- a/protocols/Tox/src/tox_events.cpp
+++ b/protocols/Tox/src/tox_events.cpp
@@ -29,21 +29,4 @@ int CToxProto::OnOptionsInit(WPARAM wParam, LPARAM)
mir_free(title);
return 0;
-}
-
-int CToxProto::OnSettingsChanged(WPARAM hContact, LPARAM lParam)
-{
- DBCONTACTWRITESETTING* dbcws = (DBCONTACTWRITESETTING*)lParam;
- if (hContact == NULL && !strcmp(dbcws->szModule, m_szModuleName))
- {
- if (!strcmp(dbcws->szSetting, "Nick") && dbcws->value.pszVal)
- {
- if (tox && tox_set_name(tox, (uint8_t*)dbcws->value.pszVal, (uint16_t)strlen(dbcws->value.pszVal)))
- {
- SaveToxProfile();
- }
- }
- }
-
- return 0;
} \ No newline at end of file