From 627b89ec7ba6a758927648aae0bf65d5c27f4ed5 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Wed, 23 Apr 2025 17:33:01 +0100 Subject: Fix a minor regression in serialising channel data. --- src/regchannel.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/regchannel.cpp b/src/regchannel.cpp index d88fe5ceb..eb05722eb 100644 --- a/src/regchannel.cpp +++ b/src/regchannel.cpp @@ -196,7 +196,7 @@ void ChannelInfo::Type::Serialize(const Serializable *obj, Serialize::Data &data if (ci->successor) data.Store("successorid", ci->successor->GetId()); data.Store("description", ci->desc); - data.Store("registered", ci->registered); + data.Store("time_registered", ci->registered); data.Store("last_used", ci->last_used); data.Store("last_topic", ci->last_topic); data.Store("last_topic_setter", ci->last_topic_setter); @@ -244,7 +244,7 @@ Serializable *ChannelInfo::Type::Unserialize(Serializable *obj, Serialize::Data ci->SetSuccessor(ssuccessorid ? NickCore::FindId(ssuccessorid) : NickCore::Find(ssuccessor)); data["description"] >> ci->desc; - data["registered"] >> ci->registered; + data["time_registered"] >> ci->registered; data["last_used"] >> ci->last_used; data["last_topic"] >> ci->last_topic; data["last_topic_setter"] >> ci->last_topic_setter; -- cgit