summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2019-12-16 14:22:26 +0000
committerPeter Powell <petpow@saberuk.com>2019-12-16 14:22:26 +0000
commit20fa9e1038ee3d5c2d0c89bf7e8e6dcda0644aa6 (patch)
tree05442554ab583f269eb734d902e6c69477bfc557 /src
parentce7979bd7d6278bc1b67cf46a73a3d23e02a6ae5 (diff)
Use FindUUID in place of FindNick in places that only get a UUID.
Diffstat (limited to 'src')
-rw-r--r--src/configreader.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/configreader.cpp b/src/configreader.cpp
index 0f2063a60..31bbfa954 100644
--- a/src/configreader.cpp
+++ b/src/configreader.cpp
@@ -520,7 +520,7 @@ void ServerConfig::Apply(ServerConfig* old, const std::string &useruid)
}
}
- User* user = useruid.empty() ? NULL : ServerInstance->FindNick(useruid);
+ User* user = useruid.empty() ? NULL : ServerInstance->FindUUID(useruid);
if (!valid)
{
@@ -704,7 +704,7 @@ void ConfigReaderThread::Finish()
ServerInstance->Users.RehashCloneCounts();
ServerInstance->XLines->CheckELines();
ServerInstance->XLines->ApplyLines();
- User* user = ServerInstance->FindNick(TheUserUID);
+ User* user = ServerInstance->FindUUID(TheUserUID);
ConfigStatus status(user);
const ModuleManager::ModuleMap& mods = ServerInstance->Modules->GetModules();