1
0
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:
Sadie Powell
2025-05-16 15:18:00 +01:00
parent 3da8244de5
commit be5a0e8108
33 changed files with 40 additions and 40 deletions
+1 -1
View File
@@ -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);