aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/compat.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2020-02-09 16:01:52 +0000
committerGravatar Sadie Powell2020-02-09 17:16:07 +0000
commit1cdffcaad7e62f84ca1ee85e8c4265d2701afd08 (patch)
tree48a13b1c4d65ca2c76852680a7dcba4db2696c65 /src/modules/m_spanningtree/compat.cpp
parentUse C++11 inline initialisation for class members. (diff)
Move FindUUID to the UserManager class.
Diffstat (limited to 'src/modules/m_spanningtree/compat.cpp')
-rw-r--r--src/modules/m_spanningtree/compat.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_spanningtree/compat.cpp b/src/modules/m_spanningtree/compat.cpp
index ce93ea507..d6349fb6e 100644
--- a/src/modules/m_spanningtree/compat.cpp
+++ b/src/modules/m_spanningtree/compat.cpp
@@ -310,7 +310,7 @@ void TreeSocket::WriteLine(const std::string& original_line)
return;
// The nick of the target is necessary for building the PUSH message
- User* const target = ServerInstance->FindUUID(line.substr(13, UIDGenerator::UUID_LENGTH));
+ User* const target = ServerInstance->Users.FindUUID(line.substr(13, UIDGenerator::UUID_LENGTH));
if (!target)
return;
@@ -481,7 +481,7 @@ bool TreeSocket::PreProcessOldProtocolMessage(User*& who, std::string& cmd, Comm
// Translate user mode changes with timestamp to MODE
if (params[0][0] != '#')
{
- User* user = ServerInstance->FindUUID(params[0]);
+ User* user = ServerInstance->Users.FindUUID(params[0]);
if (!user)
return false;