summaryrefslogtreecommitdiff
path: root/include/serialize.h
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2013-01-27 01:59:38 -0500
committerAdam <Adam@anope.org>2013-01-27 01:59:38 -0500
commit0052dd29a7b0f8286990a49af6e4947e4bc784cf (patch)
tree0602378c773b581bdbc5d7f6973945bf4908cddf /include/serialize.h
parent50a42d2cbf2ff00ecab6bd432e88c8ca17a47219 (diff)
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)
Diffstat (limited to 'include/serialize.h')
-rw-r--r--include/serialize.h2
1 files changed, 2 insertions, 0 deletions
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<Anope::string> &GetTypeOrder();
+
+ static const std::map<Anope::string, Serialize::Type *>& GetTypes();
};
/** Should be used to hold lists and other objects of a specific type,