diff options
Diffstat (limited to 'ratox.c')
-rw-r--r-- | ratox.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1922,6 +1922,8 @@ shutdown(void) logmsg("Shutdown\n"); + datasave(); + /* Friends */ for (f = TAILQ_FIRST(&friendhead); f; f = ftmp) { ftmp = TAILQ_NEXT(f, entry); @@ -1959,8 +1961,6 @@ shutdown(void) if (idfd != -1) close(idfd); - datasave(); - toxav_kill(toxav); tox_kill(tox); } |