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/helperfuncs.cpp | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/helperfuncs.cpp') diff --git a/src/helperfuncs.cpp b/src/helperfuncs.cpp index 06848afd9..d78ed96a2 100644 --- a/src/helperfuncs.cpp +++ b/src/helperfuncs.cpp @@ -56,15 +56,6 @@ User* InspIRCd::FindNickOnly(const std::string &nick) return iter->second; } -User *InspIRCd::FindUUID(const std::string &uid) -{ - user_hash::iterator finduuid = this->Users.uuidlist.find(uid); - - if (finduuid == this->Users.uuidlist.end()) - return NULL; - - return finduuid->second; -} /* find a channel record by channel name and return a pointer to it */ Channel* InspIRCd::FindChan(const std::string &chan) -- cgit v1.3.1-10-gc9f91