diff --git a/src/Components/Modules/RCon.cpp b/src/Components/Modules/RCon.cpp index 66714b8f..f168d364 100644 --- a/src/Components/Modules/RCon.cpp +++ b/src/Components/Modules/RCon.cpp @@ -202,7 +202,7 @@ namespace Components { std::hash hashFn; const auto hash = hashFn(address); - if (!RconAddresses.empty() && std::ranges::find(RconAddresses, hash) != RconAddresses.end()) + if (!RconAddresses.empty() && std::ranges::find(RconAddresses, hash) == RconAddresses.end()) { return; }