summaryrefslogtreecommitdiff
path: root/modules/chanserv/cs_seen.cpp
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2025-05-16 15:18:00 +0100
committerSadie Powell <sadie@witchery.services>2025-05-16 15:18:00 +0100
commitbe5a0e8108cb5d17b4e36f5858e1700ccb645c8b (patch)
tree759d3f6b08f73895df1d0017b70b11d223db1eb5 /modules/chanserv/cs_seen.cpp
parent3da8244de5d013cc9c390c194c195f5c4a81a0da (diff)
Serialize using mutable objects not immutable ones.
Diffstat (limited to 'modules/chanserv/cs_seen.cpp')
-rw-r--r--modules/chanserv/cs_seen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/chanserv/cs_seen.cpp b/modules/chanserv/cs_seen.cpp
index ec90206e1..53b0b5865 100644
--- a/modules/chanserv/cs_seen.cpp
+++ b/modules/chanserv/cs_seen.cpp
@@ -53,7 +53,7 @@ struct SeenInfoType final
{
}
- void Serialize(const Serializable *obj, Serialize::Data &data) const override
+ void Serialize(Serializable *obj, Serialize::Data &data) const override
{
const auto *s = static_cast<const SeenInfo *>(obj);
data.Store("nick", s->nick);