mirror of
https://github.com/matrix-construct/construct
synced 2024-11-19 16:30:52 +01:00
/stats o: display name of privset instead of privs
This commit is contained in:
parent
6ac9e53ee4
commit
880c94adb4
1 changed files with 1 additions and 1 deletions
|
@ -674,7 +674,7 @@ stats_oper(struct Client *source_p)
|
||||||
sendto_one_numeric(source_p, RPL_STATSOLINE,
|
sendto_one_numeric(source_p, RPL_STATSOLINE,
|
||||||
form_str(RPL_STATSOLINE),
|
form_str(RPL_STATSOLINE),
|
||||||
oper_p->username, oper_p->host, oper_p->name,
|
oper_p->username, oper_p->host, oper_p->name,
|
||||||
IsOper(source_p) ? get_oper_privs(oper_p->flags) : "0", "-1");
|
IsOper(source_p) ? oper_p->privset->name : "0", "-1");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue