From adb26a4e882d317de4e4135f414b7002cafe07a4 Mon Sep 17 00:00:00 2001 From: Attila Molnar Date: Fri, 14 Mar 2014 13:04:10 +0100 Subject: Change allocation of UserManager::uuidlist to be physically part of the object containing it --- src/helperfuncs.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/helperfuncs.cpp') diff --git a/src/helperfuncs.cpp b/src/helperfuncs.cpp index 850eaf4c0..567806efc 100644 --- a/src/helperfuncs.cpp +++ b/src/helperfuncs.cpp @@ -59,9 +59,9 @@ User* InspIRCd::FindNickOnly(const std::string &nick) User *InspIRCd::FindUUID(const std::string &uid) { - user_hash::iterator finduuid = this->Users->uuidlist->find(uid); + user_hash::iterator finduuid = this->Users->uuidlist.find(uid); - if (finduuid == this->Users->uuidlist->end()) + if (finduuid == this->Users->uuidlist.end()) return NULL; return finduuid->second; -- cgit v1.3.1-10-gc9f91