mirror of
https://github.com/Tha14/toxic.git
synced 2025-07-01 16:16:46 +02:00
added exit_toxic function (for real this time)
This commit is contained in:
@ -292,11 +292,7 @@ void cmd_connect(ToxWindow *self, Tox *m, int argc, char **argv)
|
||||
|
||||
void cmd_quit(ToxWindow *self, Tox *m, int argc, char **argv)
|
||||
{
|
||||
endwin();
|
||||
store_data(m, DATA_FILE);
|
||||
free(DATA_FILE);
|
||||
tox_kill(m);
|
||||
exit(EXIT_SUCCESS);
|
||||
exit_toxic(m);
|
||||
}
|
||||
|
||||
void cmd_help(ToxWindow *self, Tox *m, int argc, char **argv)
|
||||
|
Reference in New Issue
Block a user