summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2025-04-23 17:33:01 +0100
committerSadie Powell <sadie@witchery.services>2025-04-23 17:33:01 +0100
commit627b89ec7ba6a758927648aae0bf65d5c27f4ed5 (patch)
tree9a3384b7fd8fed83f773435efb378a8353d15a71
parent93736776109fd28be354cfc36f9a6081d2b91670 (diff)
Fix a minor regression in serialising channel data.
-rw-r--r--src/regchannel.cpp4
1 files changed, 2 insertions, 2 deletions
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;