Make clients list file configurable

This commit is contained in:
2025-10-28 09:56:52 +01:00
parent e93e3f4d9c
commit 5db16c2355
2 changed files with 18 additions and 4 deletions

View File

@@ -125,7 +125,7 @@ impl Client {
pub type ClientManager = EntityManager<Client>;
impl EntityManager<Client> {
impl ClientManager {
pub fn find_by_id(&self, u: &ClientID) -> Option<Client> {
for entry in self.iter() {
if entry.id.eq(u) {