summaryrefslogtreecommitdiff
path: root/modules/chanserv/cs_entrymsg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/chanserv/cs_entrymsg.cpp')
-rw-r--r--modules/chanserv/cs_entrymsg.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/chanserv/cs_entrymsg.cpp b/modules/chanserv/cs_entrymsg.cpp
index efe13d1aa..808582bdc 100644
--- a/modules/chanserv/cs_entrymsg.cpp
+++ b/modules/chanserv/cs_entrymsg.cpp
@@ -32,10 +32,10 @@ struct EntryMsgImpl final
void Serialize(Serialize::Data &data) const override
{
- data["ci"] << this->chan;
- data["creator"] << this->creator;
- data["message"] << this->message;
- data.SetType("when", Serialize::Data::DT_INT); data["when"] << this->when;
+ data.Store("ci", this->chan);
+ data.Store("creator", this->creator);
+ data.Store("message", this->message);
+ data.Store("when", this->when);
}
static Serializable *Unserialize(Serializable *obj, Serialize::Data &data);