Optimize OnceServices; simplify init.

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk authored and dasha_uwu committed 2025-08-28 23:28:20 +05:00
1 parent d05d3f710f
commit 0aea56f02a
4 files changed
+239 -196

No files matched your search

+1 -1
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