1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-07-01 16:16:46 +02:00

save nicks and exit tox properly

This commit is contained in:
Jfreegman
2013-09-04 00:58:23 -04:00
parent 0be84ecbb3
commit 20d1ad9842
3 changed files with 6 additions and 1 deletions

View File

@ -235,6 +235,7 @@ void cmd_connect(ToxWindow *self, Tox *m, int argc, char **argv)
void cmd_quit(ToxWindow *self, Tox *m, int argc, char **argv)
{
endwin();
tox_kill(m);
exit(0);
}