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