summaryrefslogtreecommitdiff
path: root/src/hostserv.c
diff options
context:
space:
mode:
authorgeniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2006-12-09 22:35:44 +0000
committergeniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2006-12-09 22:35:44 +0000
commit6e4112460817c1a099f2143b5e5d18a23c1be621 (patch)
tree7ed50fbba3e2779228c1ddf2811f74ce98e79344 /src/hostserv.c
parent888fe64c6001c09622162d873375dd638c20f85f (diff)
BUILD : 1.7.17 (1198) BUGS : NOTES : Reviewed and updated all of the MySQL code...
git-svn-id: svn://svn.anope.org/anope/trunk@1198 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@917 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/hostserv.c')
-rw-r--r--src/hostserv.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/hostserv.c b/src/hostserv.c
index d8c8af96b..365a5d091 100644
--- a/src/hostserv.c
+++ b/src/hostserv.c
@@ -506,13 +506,16 @@ void save_hs_rdb_dbase(void)
if (!rdb_open())
return;
- rdb_clear_table("anope_hs_core");
+ rdb_tag_table("anope_hs_core");
current = head;
while (current != NULL) {
rdb_save_hs_core(current);
current = current->next;
}
+
+ rdb_clean_table("anope_hs_core");
+
rdb_close();
#endif
}