aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_spanningtree/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/main.cpp b/src/modules/m_spanningtree/main.cpp
index 5e30469e9..614c7cd83 100644
--- a/src/modules/m_spanningtree/main.cpp
+++ b/src/modules/m_spanningtree/main.cpp
@@ -808,7 +808,7 @@ void ModuleSpanningTree::OnDecodeMetaData(Extensible* target, const std::string&
// HACK: this should use automatically synced user metadata in v4.
User* dest = static_cast<User*>(target);
if (dest && (extname == "uniqueusername"))
- dest->uniqueusername = true;
+ dest->uniqueusername = (extdata != "0");
}
CullResult ModuleSpanningTree::cull()