Fix compiler warning for SeesOper
This commit is contained in:
parent
004007982a
commit
bcd241da68
1 changed files with 1 additions and 1 deletions
|
@ -166,7 +166,7 @@ extern void cluster_generic(struct Client *, const char *, int cltype,
|
||||||
#define IsOperRemoteBan(x) (HasPrivilege((x), "oper:remoteban"))
|
#define IsOperRemoteBan(x) (HasPrivilege((x), "oper:remoteban"))
|
||||||
#define IsOperMassNotice(x) (HasPrivilege((x), "oper:mass_notice"))
|
#define IsOperMassNotice(x) (HasPrivilege((x), "oper:mass_notice"))
|
||||||
|
|
||||||
#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")) || IsOper((source))))
|
||||||
|
|
||||||
extern struct oper_conf *make_oper_conf(void);
|
extern struct oper_conf *make_oper_conf(void);
|
||||||
extern void free_oper_conf(struct oper_conf *);
|
extern void free_oper_conf(struct oper_conf *);
|
||||||
|
|
Loading…
Reference in a new issue