1
0
mirror of https://github.com/anope/anope.git synced 2026-06-28 18:36:39 +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
@@ -451,7 +451,7 @@ public:
if (modelocks && Servers::Capab.count("MLOCK") > 0)
{
Anope::string modes = modelocks->GetMLockAsString(false).replace_all_cs("+", "").replace_all_cs("-", "");
Uplink::Send("MLOCK", c->creation_time, c->ci->name, modes);
Uplink::Send("MLOCK", c->created, c->ci->name, modes);
}
}
@@ -462,7 +462,7 @@ public:
if (cm && ci->c && modelocks && (cm->type == MODE_REGULAR || cm->type == MODE_PARAM) && Servers::Capab.count("MLOCK") > 0)
{
Anope::string modes = modelocks->GetMLockAsString(false).replace_all_cs("+", "").replace_all_cs("-", "") + cm->mchar;
Uplink::Send("MLOCK", ci->c->creation_time, ci->name, modes);
Uplink::Send("MLOCK", ci->c->created, ci->name, modes);
}
return EVENT_CONTINUE;
@@ -475,7 +475,7 @@ public:
if (cm && modelocks && ci->c && (cm->type == MODE_REGULAR || cm->type == MODE_PARAM) && Servers::Capab.count("MLOCK") > 0)
{
Anope::string modes = modelocks->GetMLockAsString(false).replace_all_cs("+", "").replace_all_cs("-", "").replace_all_cs(cm->mchar, "");
Uplink::Send("MLOCK", ci->c->creation_time, ci->name, modes);
Uplink::Send("MLOCK", ci->c->created, ci->name, modes);
}
return EVENT_CONTINUE;