summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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