aboutsummaryrefslogtreecommitdiffstats
path: root/include
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 /include
parentUse C++11 inline initialisation for class members. (diff)
Move FindUUID to the UserManager class.
Diffstat (limited to 'include')
-rw-r--r--include/inspircd.h6
-rw-r--r--include/usermanager.h6
2 files changed, 6 insertions, 6 deletions
diff --git a/include/inspircd.h b/include/inspircd.h
index 6bd14c0e9..4d1a768a7 100644
--- a/include/inspircd.h
+++ b/include/inspircd.h
@@ -214,12 +214,6 @@ class CoreExport InspIRCd
*/
FakeUser* FakeClient = nullptr;
- /** Find a user in the UUID hash
- * @param uid The UUID to find
- * @return A pointer to the user, or NULL if the user does not exist
- */
- User* FindUUID(const std::string &uid);
-
/** Time this ircd was booted
*/
time_t startup_time;
diff --git a/include/usermanager.h b/include/usermanager.h
index bc1c6fe3b..3c840d2b2 100644
--- a/include/usermanager.h
+++ b/include/usermanager.h
@@ -191,4 +191,10 @@ class CoreExport UserManager
* @return Next already_sent id
*/
already_sent_t NextAlreadySentId();
+
+ /** Find a user by their UUID.
+ * @param uuid The UUID of the user to find.
+ * @return If the user was found then a pointer to a User object; otherwise, nullptr.
+ */
+ User* FindUUID(const std::string& uuid);
};