summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsin <sin@2f30.org>2014-09-15 12:25:00 +0100
committersin <sin@2f30.org>2014-09-15 12:25:00 +0100
commit24f24315fc9da6e69698e92c76d778555461d77e (patch)
treeccda90ec7d650794906d778e576fcad4c8589ded
parentd373e89bb878c1d2808bfae7d3ecfbb631e325e6 (diff)
Don't set a fixed name at init time
tox_load() handles that and gives us our last nickname.
-rw-r--r--ratatox.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/ratatox.c b/ratatox.c
index 6d7614f..f23691d 100644
--- a/ratatox.c
+++ b/ratatox.c
@@ -449,8 +449,6 @@ toxinit(void)
tox_callback_friend_request(tox, cb_friend_request, NULL);
tox_callback_name_change(tox, cb_name_change, NULL);
tox_callback_status_message(tox, cb_status_message, NULL);
- tox_set_name(tox, "ratatox", strlen("ratatox"));
- tox_set_user_status(tox, TOX_USERSTATUS_NONE);
tox_get_address(tox, address);
printf("ID: ");