replace white and blacklist (#1530)

This commit is contained in:
David Markowitz
2024-04-04 22:51:40 -07:00
committed by GitHub
parent 24de0e5fdb
commit b340d7c8f9
8 changed files with 43 additions and 66 deletions

View File

@@ -83,7 +83,7 @@ void UserManager::Initialize() {
auto chatListStream = Game::assetManager->GetFile("chatplus_en_us.txt");
if (!chatListStream) {
LOG("Failed to load %s", (Game::assetManager->GetResPath() / "chatplus_en_us.txt").string().c_str());
throw std::runtime_error("Aborting initialization due to missing chat whitelist file.");
throw std::runtime_error("Aborting initialization due to missing chat allowlist file.");
}
while (std::getline(chatListStream, line, '\n')) {