mirror of
https://github.com/anope/anope.git
synced 2026-07-01 16:46:38 +02:00
Fix /bs set private
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user