1
0
mirror of https://github.com/anope/anope.git synced 2026-06-26 19:16:38 +02:00

Remove time from the name of some variables where its obvious.

This commit is contained in:
Sadie Powell
2025-04-19 22:53:49 +01:00
parent c8b3819767
commit f5a85c69d2
29 changed files with 92 additions and 92 deletions
+6 -6
View File
@@ -30,7 +30,7 @@ std::vector<Channel *> Channel::deleting;
Channel::Channel(const Anope::string &nname, time_t ts)
: name(nname)
, creation_time(ts)
, created(ts)
{
if (nname.empty())
throw CoreException("A channel without a name ?");
@@ -610,15 +610,15 @@ void Channel::SetModesInternal(MessageSource &source, const Anope::string &modes
{
if (!ts)
;
else if (ts > this->creation_time)
else if (ts > this->created)
{
Log(LOG_DEBUG) << "Dropping mode " << modes << " on " << this->name << ", " << ts << " > " << this->creation_time;
Log(LOG_DEBUG) << "Dropping mode " << modes << " on " << this->name << ", " << ts << " > " << this->created;
return;
}
else if (ts < this->creation_time)
else if (ts < this->created)
{
Log(LOG_DEBUG) << "Changing TS of " << this->name << " from " << this->creation_time << " to " << ts;
this->creation_time = ts;
Log(LOG_DEBUG) << "Changing TS of " << this->name << " from " << this->created << " to " << ts;
this->created = ts;
this->Reset();
}