summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/restart.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/restart.c b/src/restart.c
index 2d03291..eb46fff 100644
--- a/src/restart.c
+++ b/src/restart.c
@@ -80,10 +80,11 @@ server_die(const char *mesg, int rboot)
ilog(LOG_TYPE_IRCD, "%s", buffer);
+ save_all_databases(NULL);
+
send_queued_all();
close_fds(NULL);
- save_all_databases(NULL);
unlink(pidFileName);
if (rboot)