aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_spanningtree/main.cpp')
-rw-r--r--src/modules/m_spanningtree/main.cpp4
1 files changed, 2 insertions, 2 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");
}