aboutsummaryrefslogtreecommitdiff
path: root/src/server.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/server.cpp
parentUse C++11 inline initialisation for class members. (diff)
Move FindUUID to the UserManager class.
Diffstat (limited to 'src/server.cpp')
-rw-r--r--src/server.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server.cpp b/src/server.cpp
index 11448e746..e5449f71a 100644
--- a/src/server.cpp
+++ b/src/server.cpp
@@ -151,7 +151,7 @@ std::string UIDGenerator::GetUID()
// Add one to the last UID
this->IncrementUID(UUID_LENGTH - 1);
- if (!ServerInstance->FindUUID(current_uid))
+ if (!ServerInstance->Users.FindUUID(current_uid))
break;
/*