summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/uid.cpp
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2019-07-19 12:11:36 +0100
committerPeter Powell <petpow@saberuk.com>2019-07-19 12:13:18 +0100
commit875aa2d98d1eb25f4932fbd2ac5c2086d16ff6ea (patch)
treef261540785e7b83ddec848ae53a303cf9bfd707b /src/modules/m_spanningtree/uid.cpp
parentc7dc34b6e08e41136594a86e172423f11ba5bfac (diff)
spanningtree: Never send a message to a raw UUID in CmdBuilder.
Diffstat (limited to 'src/modules/m_spanningtree/uid.cpp')
-rw-r--r--src/modules/m_spanningtree/uid.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/uid.cpp b/src/modules/m_spanningtree/uid.cpp
index 0729065fc..bf99fb445 100644
--- a/src/modules/m_spanningtree/uid.cpp
+++ b/src/modules/m_spanningtree/uid.cpp
@@ -152,7 +152,7 @@ CmdResult CommandFName::HandleRemote(RemoteUser* src, Params& params)
}
CommandUID::Builder::Builder(User* user)
- : CmdBuilder(TreeServer::Get(user)->GetID(), "UID")
+ : CmdBuilder(TreeServer::Get(user), "UID")
{
push(user->uuid);
push_int(user->age);