1
0
mirror of https://github.com/anope/anope.git synced 2026-06-29 21:46: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
+3 -3
View File
@@ -51,7 +51,7 @@ public:
void SendModeInternal(const MessageSource &source, Channel *chan, const Anope::string &modes, const std::vector<Anope::string> &values) override
{
auto params = values;
params.insert(params.begin(), { chan->name, Anope::ToString(chan->creation_time), modes });
params.insert(params.begin(), { chan->name, Anope::ToString(chan->created), modes });
Uplink::SendInternal({}, source, "MODE", params);
}
@@ -157,7 +157,7 @@ public:
/* JOIN - SJOIN */
void SendJoin(User *user, Channel *c, const ChannelStatus *status) override
{
Uplink::Send(user, "SJOIN", c->creation_time, c->name);
Uplink::Send(user, "SJOIN", c->created, c->name);
if (status)
{
/* First save the channel status incase uc->Status == status */
@@ -267,7 +267,7 @@ public:
void SendChannel(Channel *c) override
{
Uplink::Send("SJOIN", c->creation_time, c->name, "+" + c->GetModes(true, true), "");
Uplink::Send("SJOIN", c->created, c->name, "+" + c->GetModes(true, true), "");
}
void SendLogin(User *u, NickAlias *) override