fix: break out of loop when condition is met

This commit is contained in:
Future committed 2024-05-04 19:06:26 +02:00
1 parent 479f6fcbf3
commit 89f29244ac
1 file changed
+1
+1
View File
@@ -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;
}
}
});