operlevels: oper = <name> <pass> <level>; a lower-level oper can't KILL a higher-level one
This commit is contained in:
parent
3b2f30965a
commit
3b43abc88a
7 changed files with 64 additions and 8 deletions
|
|
@ -25,7 +25,7 @@ pub fn handle(s: &mut Server, method: &str, _params: &str) -> Result<String, Rpc
|
|||
let opers: Vec<String> = s
|
||||
.opers
|
||||
.iter()
|
||||
.map(|(name, _pass)| {
|
||||
.map(|(name, _pass, _lvl)| {
|
||||
obj(&[
|
||||
("name", qstr(name)),
|
||||
("type", qstr("")),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue