From 0052dd29a7b0f8286990a49af6e4947e4bc784cf Mon Sep 17 00:00:00 2001 From: Adam Date: Sun, 27 Jan 2013 01:59:38 -0500 Subject: 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) --- include/serialize.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/serialize.h b/include/serialize.h index 918944804..b136412e4 100644 --- a/include/serialize.h +++ b/include/serialize.h @@ -176,6 +176,8 @@ class CoreExport Serialize::Type static Serialize::Type *Find(const Anope::string &name); static const std::vector &GetTypeOrder(); + + static const std::map& GetTypes(); }; /** Should be used to hold lists and other objects of a specific type, -- cgit