diff options
Diffstat (limited to 'src/modules/m_spanningtree/compat.cpp')
| -rw-r--r-- | src/modules/m_spanningtree/compat.cpp | 4 |
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; |
