Skip to content

Commit 89f2924

Browse files
committed
fix: break out of loop when condition is met
1 parent 479f6fc commit 89f2924

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/services/elimination_handler.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ void elimination_handler::run_frame()
5959
{
6060
console::log("Removing server '%s' (%s) because it contains a bad name", server.name.data(), context.get_address().to_string().data());
6161
context.remove();
62+
break;
6263
}
6364
}
6465
});

0 commit comments

Comments
 (0)