mirror of
https://github.com/anope/anope.git
synced 2026-06-29 12:16:38 +02:00
Serialize using mutable objects not immutable ones.
This commit is contained in:
+1
-1
@@ -89,7 +89,7 @@ BotInfo::Type::Type()
|
||||
{
|
||||
}
|
||||
|
||||
void BotInfo::Type::Serialize(const Serializable *obj, Serialize::Data &data) const
|
||||
void BotInfo::Type::Serialize(Serializable *obj, Serialize::Data &data) const
|
||||
{
|
||||
const auto *bi = static_cast<const BotInfo *>(obj);
|
||||
data.Store("nick", bi->nick);
|
||||
|
||||
Reference in New Issue
Block a user