summaryrefslogtreecommitdiff
path: root/src/hostserv.c
diff options
context:
space:
mode:
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
}