From 703b273472bdd92a604178918e6782c427cfda72 Mon Sep 17 00:00:00 2001 From: "geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b" Date: Tue, 1 Jan 2008 13:48:50 +0000 Subject: [PATCH] BUILD : 1.7.20 (1329) BUGS : 811 NOTES : Fixed databases not being saved when anope quit due to a connection error git-svn-id: svn://svn.anope.org/anope/trunk@1329 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1045 5417fbe8-f217-4b02-8779-1006273d7864 --- Changes | 1 + src/main.c | 4 ++++ version.log | 6 +++++- 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/Changes b/Changes index 54bdac239..687b135fe 100644 --- a/Changes +++ b/Changes @@ -1,6 +1,7 @@ Anope Version S V N -------------------- 12/30 F Grouped root nicks could result in loss of power when using MySQL.[#812] +01/01 F Databases not being saved on quit caused by connection error. [#811] Anope Version 1.7.20 diff --git a/src/main.c b/src/main.c index ff0af6a01..5ae01aa3a 100644 --- a/src/main.c +++ b/src/main.c @@ -665,6 +665,10 @@ int main(int ac, char **av, char **envp) quitmsg = "Read error from server"; } quitting = 1; + + /* Save the databases */ + if (!readonly) + save_databases(); } waiting = -4; } diff --git a/version.log b/version.log index bd5161441..6202ba576 100644 --- a/version.log +++ b/version.log @@ -9,10 +9,14 @@ VERSION_MAJOR="1" VERSION_MINOR="7" VERSION_PATCH="20" VERSION_EXTRA="-svn" -VERSION_BUILD="1328" +VERSION_BUILD="1329" # $Log$ # +# BUILD : 1.7.20 (1329) +# BUGS : 811 +# NOTES : Fixed databases not being saved when anope quit due to a connection error +# # BUILD : 1.7.20 (1328) # BUGS : 812 # NOTES : Fixed a bug where multiple grouped nicks and not all of them listed in ServicesRoot could result in services roots not becoming services root when using MySQL