Skip to content

Commit

Permalink
fix: break out of loop when condition is met
Browse files Browse the repository at this point in the history
  • Loading branch information
diamante0018 committed May 4, 2024
1 parent 479f6fc commit 89f2924
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/services/elimination_handler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
});
Expand Down

0 comments on commit 89f2924

Please sign in to comment.