summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgeniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2008-01-01 13:48:50 +0000
committergeniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2008-01-01 13:48:50 +0000
commit703b273472bdd92a604178918e6782c427cfda72 (patch)
treead538d766568374f5a24c9779f1bf0a55a451e6d
parent751783a2aae1ba9f41cce197ed8dc72651056706 (diff)
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
-rw-r--r--Changes1
-rw-r--r--src/main.c4
-rw-r--r--version.log6
3 files changed, 10 insertions, 1 deletions
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