Merge pull request #155 from diamante0018/develop

Added missing lock guard
This commit is contained in:
Dss0 2021-12-17 20:25:16 +01:00 committed by GitHub
commit 6d80943380
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,6 +6,8 @@ namespace Components
bool Bans::IsBanned(Bans::Entry entry)
{
std::lock_guard<std::recursive_mutex> _(Bans::AccessMutex);
Bans::BanList list;
Bans::LoadBans(&list);