Fix compiler warning for SeesOper

This commit is contained in:
Simon Arlott 2019-09-15 10:00:56 +01:00
parent 004007982a
commit bcd241da68
No known key found for this signature in database
GPG key ID: 49BFFEEFD4C3ED53

View file

@ -166,7 +166,7 @@ extern void cluster_generic(struct Client *, const char *, int cltype,
#define IsOperRemoteBan(x) (HasPrivilege((x), "oper:remoteban"))
#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 void free_oper_conf(struct oper_conf *);