diff options
Diffstat (limited to 'src/regchannel.cpp')
-rw-r--r-- | src/regchannel.cpp | 6 |
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; |