chanserv: all op-and-above tiers grant +o for a single @ prefix; tier distinction stays in the access list
All checks were successful
CI / check (push) Successful in 4m12s
All checks were successful
CI / check (push) Successful in 4m12s
This commit is contained in:
parent
2f6fd41465
commit
b5aef650f2
3 changed files with 28 additions and 31 deletions
|
|
@ -496,7 +496,7 @@
|
|||
db.access_add("#c", "bob", "voice").unwrap();
|
||||
|
||||
let info = db.channel("#c").unwrap();
|
||||
assert_eq!(info.join_mode("boss"), Some("+qo")); // founder: owner + op
|
||||
assert_eq!(info.join_mode("boss"), Some("+o")); // founder
|
||||
assert_eq!(info.join_mode("ALICE"), Some("+o")); // op, case-insensitive
|
||||
assert_eq!(info.join_mode("bob"), Some("+v")); // voice
|
||||
assert_eq!(info.join_mode("nobody"), None);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue