From bcd241da68ce7f1b7c63fe8a4cf442ae54815fe7 Mon Sep 17 00:00:00 2001 From: Simon Arlott Date: Sun, 15 Sep 2019 10:00:56 +0100 Subject: [PATCH] Fix compiler warning for SeesOper --- include/s_newconf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/s_newconf.h b/include/s_newconf.h index cced2d07..4decc5a3 100644 --- a/include/s_newconf.h +++ b/include/s_newconf.h @@ -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 *);