mirror of
https://github.com/Tha14/toxic.git
synced 2025-12-06 22:36:34 +01:00
Merge branch 'tox-bugs' of https://github.com/stqism/ToxCore into stqism-tox-bugs
This commit is contained in:
1
prompt.c
1
prompt.c
@@ -272,6 +272,7 @@ void cmd_nick(ToxWindow *self, Messenger *m, char **args)
|
||||
char *nick = args[1];
|
||||
setname(m, (uint8_t *) nick, strlen(nick) + 1);
|
||||
wprintw(self->window, "Nickname set to: %s\n", nick);
|
||||
|
||||
if (store_data(m, DATA_FILE)) {
|
||||
wprintw(self->window, "\nCould not store Messenger data\n");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user