mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-04-02 02:35:31 +00:00
aquatic_common: rename AccessListType to AccessListMode
This commit is contained in:
parent
60d183003d
commit
f0846e3128
5 changed files with 22 additions and 22 deletions
|
|
@ -3,7 +3,7 @@ use std::net::{IpAddr, Ipv4Addr, Ipv6Addr, SocketAddr};
|
|||
use std::sync::{atomic::AtomicUsize, Arc};
|
||||
use std::time::Instant;
|
||||
|
||||
use aquatic_common::access_list::AccessListType;
|
||||
use aquatic_common::access_list::AccessListMode;
|
||||
use hashbrown::HashMap;
|
||||
use indexmap::IndexMap;
|
||||
use parking_lot::Mutex;
|
||||
|
|
@ -125,7 +125,7 @@ impl TorrentMaps {
|
|||
/// Remove disallowed and inactive torrents
|
||||
pub fn clean_with_access_list(
|
||||
&mut self,
|
||||
access_list_type: AccessListType,
|
||||
access_list_type: AccessListMode,
|
||||
access_list: &AccessList,
|
||||
now: Instant,
|
||||
) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue