remove unused config global function

Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
strawberry 2023-12-25 15:10:09 -05:00 committed by June
parent d4c360c135
commit 09d0c13d6f

View file

@ -307,13 +307,6 @@ impl Service<'_> {
self.config.allow_guest_registration self.config.allow_guest_registration
} }
pub fn yes_i_am_very_very_sure_i_want_an_open_registration_server_prone_to_abuse(
&self,
) -> bool {
self.config
.yes_i_am_very_very_sure_i_want_an_open_registration_server_prone_to_abuse
}
pub fn allow_encryption(&self) -> bool { pub fn allow_encryption(&self) -> bool {
self.config.allow_encryption self.config.allow_encryption
} }