summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/metadata.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_spanningtree/metadata.cpp')
-rw-r--r--src/modules/m_spanningtree/metadata.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/metadata.cpp b/src/modules/m_spanningtree/metadata.cpp
index 40c0367ea..f74b2dc62 100644
--- a/src/modules/m_spanningtree/metadata.cpp
+++ b/src/modules/m_spanningtree/metadata.cpp
@@ -45,7 +45,7 @@ CmdResult CommandMetadata::Handle(const std::vector<std::string>& params, User *
}
else if (*(params[0].c_str()) != '#')
{
- User* u = ServerInstance->FindNick(params[0]);
+ User* u = ServerInstance->FindUUID(params[0]);
if (u)
{
if (item)