Added missing lock guard
This commit is contained in:
parent
a3947c1461
commit
25a79f8439
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user