diff options
Diffstat (limited to 'src/hostserv.c')
| -rw-r--r-- | src/hostserv.c | 5 |
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 } |
