diff --git a/src/Components/Modules/Bans.cpp b/src/Components/Modules/Bans.cpp index d3f5d306..6930eb28 100644 --- a/src/Components/Modules/Bans.cpp +++ b/src/Components/Modules/Bans.cpp @@ -6,6 +6,8 @@ namespace Components bool Bans::IsBanned(Bans::Entry entry) { + std::lock_guard _(Bans::AccessMutex); + Bans::BanList list; Bans::LoadBans(&list);