remove unused config global function
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
d4c360c135
commit
09d0c13d6f
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue