mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-04-02 02:35:31 +00:00
AccessListMode: rename Allow to Require and Deny to Forbid
This commit is contained in:
parent
3a2e751668
commit
490c0b037d
5 changed files with 7 additions and 8 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue