fix: break out of loop when condition is met
This commit is contained in:
parent
479f6fcbf3
commit
89f29244ac
@ -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());
|
console::log("Removing server '%s' (%s) because it contains a bad name", server.name.data(), context.get_address().to_string().data());
|
||||||
context.remove();
|
context.remove();
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user