mirror of
https://github.com/anope/anope.git
synced 2026-06-29 14:56:37 +02:00
Remove time from the name of some variables where its obvious.
This commit is contained in:
+3
-3
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user