diff options
author | Adam <Adam@anope.org> | 2013-07-01 22:17:52 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2013-07-01 22:17:52 -0400 |
commit | 1a3d9a016d3adc49788bbff73aac9b3b5ea85b17 (patch) | |
tree | c0ecf92ed768473bc82ff64a7fce827245f37ba9 /src/bots.cpp | |
parent | 518182ac9204f815258b0de91b3f884d8efa1502 (diff) |
Change extensible keys to require explicitly having a type defined for it. Completely modularize more features like bs_kick, entrymsg, log, mode, etc. Move fantasy to its own module. Move greet to its own module.
Diffstat (limited to 'src/bots.cpp')
-rw-r--r-- | src/bots.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bots.cpp b/src/bots.cpp index 2ff4f5340..0a65393bb 100644 --- a/src/bots.cpp +++ b/src/bots.cpp @@ -80,7 +80,7 @@ void BotInfo::Serialize(Serialize::Data &data) const data["created"] << this->created; data["oper_only"] << this->oper_only; - this->ExtensibleSerialize(data); + Extensible::ExtensibleSerialize(this, this, data); } Serializable* BotInfo::Unserialize(Serializable *obj, Serialize::Data &data) @@ -101,7 +101,7 @@ Serializable* BotInfo::Unserialize(Serializable *obj, Serialize::Data &data) data["created"] >> bi->created; data["oper_only"] >> bi->oper_only; - bi->ExtensibleUnserialize(data); + Extensible::ExtensibleUnserialize(bi, bi, data); return bi; } |