diff options
author | Sadie Powell <sadie@witchery.services> | 2025-04-19 22:53:49 +0100 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2025-04-19 22:53:49 +0100 |
commit | f5a85c69d225edaed4e11eb4c2b27d66ebc5195e (patch) | |
tree | 6b1cad444b007d6cc565af5ec3bd199a2c6f0b18 /modules/protocol/solanum.cpp | |
parent | c8b38197670965c18df603a5a4329f6f583b77d7 (diff) |
Remove time from the name of some variables where its obvious.
Diffstat (limited to 'modules/protocol/solanum.cpp')
-rw-r--r-- | modules/protocol/solanum.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/protocol/solanum.cpp b/modules/protocol/solanum.cpp index 4a4789258..0b0dbfd30 100644 --- a/modules/protocol/solanum.cpp +++ b/modules/protocol/solanum.cpp @@ -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; |