This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Undernet IRC Server Source Code.".
The branch, u2_10_12_branch has been updated
via 7572ce31e4730c8b3b64d9b589a743166aa4f402 (commit)
from 5cfa0027e5c632d087dad6a3ece271ba7bd7622f (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 7572ce31e4730c8b3b64d9b589a743166aa4f402
Author: Michael Poole <[email protected]>
Date: Thu Mar 30 22:15:12 2017 -0400
set_user_mode: Fix privileges for LocOps after changing usermodes.
diff --git a/ircd/s_user.c b/ircd/s_user.c
index 595fabb..ba09f26 100644
--- a/ircd/s_user.c
+++ b/ircd/s_user.c
@@ -1169,7 +1169,7 @@ int set_user_mode(struct Client *cptr, struct Client
*sptr, int parc,
prop = 1;
}
if ((FlagHas(&setflags, FLAG_OPER) || FlagHas(&setflags, FLAG_LOCOP))
- && !IsOper(sptr)) {
+ && !IsAnOper(sptr)) {
if (FlagHas(&setflags, FLAG_OPER)) {
/* user no longer (global) oper */
assert(UserStats.opers > 0);
-----------------------------------------------------------------------
Summary of changes:
ircd/s_user.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
hooks/post-receive
--
Undernet IRC Server Source Code.
_______________________________________________
Patches mailing list
[email protected]
http://undernet.sbg.org/mailman/listinfo/patches