summaryrefslogtreecommitdiff
path: root/src/regchannel.cpp
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2025-04-19 22:53:49 +0100
committerSadie Powell <sadie@witchery.services>2025-04-19 22:53:49 +0100
commitf5a85c69d225edaed4e11eb4c2b27d66ebc5195e (patch)
tree6b1cad444b007d6cc565af5ec3bd199a2c6f0b18 /src/regchannel.cpp
parentc8b38197670965c18df603a5a4329f6f583b77d7 (diff)
Remove time from the name of some variables where its obvious.
Diffstat (limited to 'src/regchannel.cpp')
-rw-r--r--src/regchannel.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/regchannel.cpp b/src/regchannel.cpp
index f45803e06..d88fe5ceb 100644
--- a/src/regchannel.cpp
+++ b/src/regchannel.cpp
@@ -109,7 +109,7 @@ ChannelInfo::ChannelInfo(const Anope::string &chname)
, access(CHANACCESS_TYPE)
, akick(AUTOKICK_TYPE)
, name(chname)
- , time_registered(Anope::CurTime)
+ , registered(Anope::CurTime)
, last_used(Anope::CurTime)
{
if (chname.empty())
@@ -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("time_registered", ci->time_registered);
+ data.Store("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["time_registered"] >> ci->time_registered;
+ data["registered"] >> ci->registered;
data["last_used"] >> ci->last_used;
data["last_topic"] >> ci->last_topic;
data["last_topic_setter"] >> ci->last_topic_setter;