From 1cdffcaad7e62f84ca1ee85e8c4265d2701afd08 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sun, 9 Feb 2020 16:01:52 +0000 Subject: Move FindUUID to the UserManager class. --- src/modules/m_spanningtree/compat.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/m_spanningtree/compat.cpp') 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; -- cgit v1.3.1-10-gc9f91