AccessListMode: rename Allow to Require and Deny to Forbid

This commit is contained in:
Joakim Frostegård 2021-10-15 21:59:46 +02:00
parent 3a2e751668
commit 490c0b037d
5 changed files with 7 additions and 8 deletions

View file

@ -19,7 +19,7 @@ pub fn clean_connections_and_torrents(config: &Config, state: &State) {
}
match config.access_list.mode {
AccessListMode::Allow | AccessListMode::Deny => {
AccessListMode::Require | AccessListMode::Forbid => {
let mut access_list = state.access_list.lock();
if let Err(err) = access_list.update_from_path(&config.access_list.path) {