From bd92c47eb9f484f22991adf956afd87a0868e948 Mon Sep 17 00:00:00 2001 From: Edo Date: Sat, 4 Mar 2023 18:17:40 +0000 Subject: [PATCH] [RCon]: Update if statement (#805) --- src/Components/Modules/RCon.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }