diff options
| author | 2020-02-09 16:01:52 +0000 | |
|---|---|---|
| committer | 2020-02-09 17:16:07 +0000 | |
| commit | 1cdffcaad7e62f84ca1ee85e8c4265d2701afd08 (patch) | |
| tree | 48a13b1c4d65ca2c76852680a7dcba4db2696c65 /src/modules/m_cap.cpp | |
| parent | Use C++11 inline initialisation for class members. (diff) | |
Move FindUUID to the UserManager class.
Diffstat (limited to 'src/modules/m_cap.cpp')
| -rw-r--r-- | src/modules/m_cap.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_cap.cpp b/src/modules/m_cap.cpp index e42b93fad..ac8181df0 100644 --- a/src/modules/m_cap.cpp +++ b/src/modules/m_cap.cpp @@ -135,7 +135,7 @@ class Cap::ManagerImpl : public Cap::Manager, public ReloadModule::EventListener for (std::vector<std::string>::const_iterator j = capdata.users.begin(); j != capdata.users.end(); ++j) { const std::string& uuid = *j; - User* user = ServerInstance->FindUUID(uuid); + User* user = ServerInstance->Users.FindUUID(uuid); if (!user) { ServerInstance->Logs.Log(MODNAME, LOG_DEBUG, "User %s is gone when trying to restore cap %s", uuid.c_str(), capdata.name.c_str()); |
