Add auspex:oper
This commit is contained in:
parent
80303ab70e
commit
1cd6639a35
3 changed files with 4 additions and 3 deletions
|
@ -236,7 +236,7 @@ auth {
|
|||
* means they must be defined before operator {}.
|
||||
*/
|
||||
privset "local_op" {
|
||||
privs = oper:general, oper:local_kill, oper:operwall;
|
||||
privs = oper:general, auspex:oper, oper:local_kill, oper:operwall;
|
||||
};
|
||||
|
||||
privset "server_bot" {
|
||||
|
|
|
@ -432,6 +432,7 @@ privset "local_op" {
|
|||
*
|
||||
* oper:general: enable most general oper privileges that came
|
||||
* with +o in older releases
|
||||
* auspex:oper: allows the oper to see through oper hiding
|
||||
* oper:local_kill: allows local users to be /KILL'd
|
||||
* oper:global_kill: allows local and remote users to be /KILL'd
|
||||
* oper:routing: allows remote SQUIT and CONNECT
|
||||
|
@ -457,7 +458,7 @@ privset "local_op" {
|
|||
* oper:mass_notice: allows sending wallops and mass notices
|
||||
* oper:grant: allows using the GRANT command
|
||||
*/
|
||||
privs = oper:general, oper:local_kill, oper:operwall;
|
||||
privs = oper:general, auspex:oper, oper:local_kill, oper:operwall;
|
||||
};
|
||||
|
||||
privset "server_bot" {
|
||||
|
|
|
@ -167,7 +167,7 @@ extern void cluster_generic(struct Client *, const char *, int cltype,
|
|||
#define IsOperMassNotice(x) (HasPrivilege((x), "oper:mass_notice"))
|
||||
#define IsOperGeneral(x) (HasPrivilege((x), "oper:general"))
|
||||
|
||||
#define SeesOper(target, source) (IsOper((target)) && ((!ConfigFileEntry.hide_opers && !HasPrivilege((target), "oper:hidden")) || IsOper((source))))
|
||||
#define SeesOper(target, source) (IsOper((target)) && ((!ConfigFileEntry.hide_opers && !HasPrivilege((target), "oper:hidden")) || HasPrivilege((source), "auspex:oper")))
|
||||
|
||||
extern struct oper_conf *make_oper_conf(void);
|
||||
extern void free_oper_conf(struct oper_conf *);
|
||||
|
|
Loading…
Reference in a new issue