mirror of
https://github.com/girlbossceo/conduwuit.git
synced 2026-03-29 15:04:43 -04:00
fix: fix bug where disabled allowlist would still act as if there was an allow list
This commit is contained in:
parent
7562925aeb
commit
f1d725c842
1 changed files with 2 additions and 1 deletions
|
|
@ -59,7 +59,8 @@ impl Service {
|
|||
error!("database failed with {}",error);
|
||||
false
|
||||
}
|
||||
Ok(None) => false,
|
||||
Ok(None) if allow_list_enabled => false,
|
||||
Ok(None) => true,
|
||||
Ok(Some(data::AclMode::Block)) => false,
|
||||
Ok(Some(data::AclMode::Allow)) if allow_list_enabled => true,
|
||||
Ok(Some(data::AclMode::Allow)) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue