diff --git a/src/Components/Modules/RCon.cpp b/src/Components/Modules/RCon.cpp index ddab0636..70b8e785 100644 --- a/src/Components/Modules/RCon.cpp +++ b/src/Components/Modules/RCon.cpp @@ -110,12 +110,6 @@ namespace Components bool RCon::RateLimitCheck(const Network::Address& address, const int time) { const auto ip = address.getIP(); - - if (!RateLimit.contains(ip.full)) - { - RateLimit[ip.full] = 0; - } - const auto lastTime = RateLimit[ip.full]; if (lastTime && (time - lastTime) < RconTimeout.get())