From 77b7f08e35c513b7d450ccb8904bc9b9ef1d2359 Mon Sep 17 00:00:00 2001 From: Rim Date: Wed, 15 May 2024 15:18:38 -0400 Subject: [PATCH] fix(elimination_handler.cpp): break out of loop when condition is met --- src/services/elimination_handler.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/services/elimination_handler.cpp b/src/services/elimination_handler.cpp index ebd08eb..9bc35bb 100644 --- a/src/services/elimination_handler.cpp +++ b/src/services/elimination_handler.cpp @@ -59,6 +59,7 @@ void elimination_handler::run_frame() { console::log("Removing server '%s' (%s) because it contains a bad name", server.name.data(), context.get_address().to_string().data()); context.remove(); + break; } } });