summaryrefslogtreecommitdiff
path: root/src/bots.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2013-03-29 15:39:58 -0500
committerAdam <Adam@anope.org>2013-03-29 23:50:51 -0500
commitf24e17f8b4a579666bae050d81585d42059e7513 (patch)
tree726206b8f53da7e385115baf204daad32ef76cd4 /src/bots.cpp
parent2b208de02f932715c61e237c9bbd26e3bca3d222 (diff)
Fix /bs set private
Diffstat (limited to 'src/bots.cpp')
-rw-r--r--src/bots.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/bots.cpp b/src/bots.cpp
index 4b47b1cc5..698a37f4e 100644
--- a/src/bots.cpp
+++ b/src/bots.cpp
@@ -82,6 +82,8 @@ void BotInfo::Serialize(Serialize::Data &data) const
data["realname"] << this->realname;
data["created"] << this->created;
data["oper_only"] << this->oper_only;
+
+ this->ExtensibleSerialize(data);
}
Serializable* BotInfo::Unserialize(Serializable *obj, Serialize::Data &data)
@@ -102,6 +104,8 @@ Serializable* BotInfo::Unserialize(Serializable *obj, Serialize::Data &data)
data["created"] >> bi->created;
data["oper_only"] >> bi->oper_only;
+ bi->ExtensibleUnserialize(data);
+
return bi;
}