summaryrefslogtreecommitdiff
path: root/src/base.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/base.cpp')
-rw-r--r--src/base.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/base.cpp b/src/base.cpp
index 0aec072a1..18450ef90 100644
--- a/src/base.cpp
+++ b/src/base.cpp
@@ -1,6 +1,22 @@
#include "services.h"
#include "modules.h"
+std::vector<SerializableBase *> serialized_types;
+std::list<SerializableBase *> serialized_items;
+
+void RegisterTypes()
+{
+ Serializable<NickCore>::Alloc.Register("NickCore");
+ Serializable<NickAlias>::Alloc.Register("NickAlias");
+ Serializable<BotInfo>::Alloc.Register("BotInfo");
+ Serializable<ChannelInfo>::Alloc.Register("ChannelInfo");
+ Serializable<LogSetting>::Alloc.Register("LogSetting");
+ Serializable<ModeLock>::Alloc.Register("ModeLock");
+ Serializable<AutoKick>::Alloc.Register("AutoKick");
+ Serializable<BadWord>::Alloc.Register("BadWord");
+ Serializable<Memo>::Alloc.Register("Memo");
+}
+
Base::Base()
{
}