diff options
| author | 2024-06-07 09:23:49 +0100 | |
|---|---|---|
| committer | 2024-06-07 09:23:49 +0100 | |
| commit | f15229a1743bdff31fb6eeb844fa432041ee3d5d (patch) | |
| tree | fb3c5f087ccd92ee524194646e56d47304ea0765 /src/modules/m_spanningtree | |
| parent | Replace std::aligned_storage with a non-deprecated alternative. (diff) | |
Stop referring to v4 in some todos.
Diffstat (limited to 'src/modules/m_spanningtree')
| -rw-r--r-- | src/modules/m_spanningtree/main.cpp | 4 | ||||
| -rw-r--r-- | src/modules/m_spanningtree/netburst.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_spanningtree/main.cpp b/src/modules/m_spanningtree/main.cpp index 74869f524..ae5698d1c 100644 --- a/src/modules/m_spanningtree/main.cpp +++ b/src/modules/m_spanningtree/main.cpp @@ -521,7 +521,7 @@ void ModuleSpanningTree::OnUserConnect(LocalUser* user) if (user->IsAway()) CommandAway::Builder(user).Broadcast(); - if (user->uniqueusername) // TODO: convert this to BooleanExtItem in v4. + if (user->uniqueusername) // TODO: convert this to BooleanExtItem. CommandMetadata::Builder(user, "uniqueusername", "1").Broadcast(); for (const auto& [item, obj] : user->GetExtList()) @@ -886,7 +886,7 @@ void ModuleSpanningTree::OnShutdown(const std::string& reason) void ModuleSpanningTree::OnDecodeMetadata(Extensible* target, const std::string& extname, const std::string& extdata) { - // HACK: this should use automatically synced user metadata in v4. + // HACK: this should use automatically synced user metadata. if (target && target->extype == ExtensionType::USER && irc::equals(extname, "uniqueusername")) static_cast<User*>(target)->uniqueusername = (extdata != "0"); } diff --git a/src/modules/m_spanningtree/netburst.cpp b/src/modules/m_spanningtree/netburst.cpp index 24ece4557..35459fbca 100644 --- a/src/modules/m_spanningtree/netburst.cpp +++ b/src/modules/m_spanningtree/netburst.cpp @@ -291,7 +291,7 @@ void TreeSocket::SendUsers(BurstState& bs) if (user->IsAway()) this->WriteLine(CommandAway::Builder(user)); - if (user->uniqueusername) // TODO: convert this to BooleanExtItem in v4. + if (user->uniqueusername) // TODO: convert this to BooleanExtItem. this->WriteLine(CommandMetadata::Builder(user, "uniqueusername", "1")); for (const auto& [item, obj] : user->GetExtList()) |
