1
0
mirror of https://github.com/anope/anope.git synced 2026-06-28 12:36:39 +02:00

Fix db_flatfile not clearing databases on save if there are no objects left of that type (it will leave the old database with old objects currently)

This commit is contained in:
Adam
2013-01-27 01:59:38 -05:00
parent 50a42d2cbf
commit 0052dd29a7
3 changed files with 31 additions and 24 deletions
+5
View File
@@ -170,3 +170,8 @@ const std::vector<Anope::string> &Type::GetTypeOrder()
return TypeOrder;
}
const std::map<Anope::string, Serialize::Type *>& Type::GetTypes()
{
return Types;
}