mirror of
https://github.com/anope/anope.git
synced 2026-07-03 23:03:12 +02:00
Serialize using mutable objects not immutable ones.
This commit is contained in:
@@ -39,7 +39,7 @@ struct EntryMsgTypeImpl final
|
||||
{
|
||||
}
|
||||
|
||||
void Serialize(const Serializable *obj, Serialize::Data &data) const override
|
||||
void Serialize(Serializable *obj, Serialize::Data &data) const override
|
||||
{
|
||||
const auto *msg = static_cast<const EntryMsgImpl *>(obj);
|
||||
data.Store("ci", msg->chan);
|
||||
|
||||
Reference in New Issue
Block a user