Optimize OnceServices; simplify init.

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk
2025-08-27 00:57:12 +00:00
committed by dasha_uwu
parent d05d3f710f
commit 0aea56f02a
4 changed files with 239 additions and 196 deletions

View File

@@ -211,7 +211,7 @@ impl Service {
.await
.expect("Admin module is not loaded");
handle(Arc::clone(self.services.get_services()), command).await
handle(Arc::clone(self.services.get()), command).await
}
/// Checks whether a given user is an admin of this server