From f15229a1743bdff31fb6eeb844fa432041ee3d5d Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Fri, 7 Jun 2024 09:23:49 +0100 Subject: Stop referring to v4 in some todos. --- src/modules/m_spanningtree/main.cpp | 4 ++-- src/modules/m_spanningtree/netburst.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/modules/m_spanningtree') 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(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()) -- cgit v1.3.1-10-gc9f91