mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-10 02:59:01 -04:00
Use FindUUID in place of FindNick in places that only get a UUID.
This commit is contained in:
parent
ce7979bd7d
commit
20fa9e1038
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user